| From: Paul Wouters <[email protected]>
| Why are the quotes needed when using : ?
: is really a command that does nothing, rather than a comment.
So redirection and variable expansion are done on the operands.
: >file
would actually create an empty file "file".
: '>file'
would act like
# >file
(# was introduced with the Bourne Shell. The original UNIX shell
(before the 7th Edition) didn't have it. ":" served two purposes in
the old shell: comments and labels (for control flow). The Bourne
Shell was a great advance in so many ways.)
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev