What does , mean in bash? For example what would the , in "accurev update -9 2>,update 1>&2" mean? (accurev is a version control software)
Sorry for the lame question, I just dunno how to google for special characters.
|
feedback
|
|
It has no special meaning. The command redirects to a file called | |||
|
feedback
|
|
A comma can be used in brace expansion, but there are no braces in the example you show. This command would store its output in two files, one called "def" and the other called "abcdef":
or this one in "file1" and "file2":
Commas can be used to separate commands in an arithmetic operation in a
You can use commas in a
Commas can also be used in Bash 4 to change a string to lowercase (only a couple of variations are shown):
| |||||
feedback
|
|
Dennis is right in general, but your specific example runs | |||
|
feedback
|
|
there is a comma operator in bash that will run two commands but I don't believe it is used by your example check out the advanced bash scripting guide http://tldp.org/LDP/abs/html/ops.html an example:
| |||||||||||
feedback
|