Tag Info

New answers tagged

0

In man bash we can read in Shell Builtin Commands section: Unless otherwise noted, each builtin command documented in this section as accepting options preceded by - accepts -- to signify the end of the options. The :, true, false, and test builtins do not accept options and do not treat -- specially. The exit, logout, break, continue, let, and ...


4

Let a.txt be: aaa bbb ccc Let b.txt be: aaa bbb ccc ddd eee Using comm with -3 you can get the desired result: comm -3 a.txt b.txt ddd eee


2

have a look at comm(1). what you are looking for is comm -13 file1 file2 or comm -3 file1 file2


2

The normal convention is that arguments always follow options. The first non-option (the first string on the command line that does not start with -) terminates the options and begins the arguments. Some tools, notably the build tools (compilers, linkers), have always gone against this convention. Another example that you note is find. Sometimes this is ...


3

gunzip and gzcat are both convenience aliases for gzip -d and gzip -cd respectively. In fact, if you look you will see that they are implemented as shell scripts that call gzip with the appropriate options. So there is zero difference in CPU utilization or other performance characteristics. The I/O difference could potentially find would depend upon whether ...



Top 50 recent answers are included