[TUHS] Bourne shell and comments
gtaylor at tnetconsulting.net
Thu Apr 20 03:59:20 AEST 2017
On 04/19/2017 11:36 AM, Bakul Shah wrote:
> To see the difference try this:
> # echo one; echo two
> : echo one; echo two
> You can select the whole line starting with : and have the
> command re-excute.
Ah. That's contrary to why I use '#'.
I specifically want the command line to not be re-executed.
I purposefully select the portion of the command line that I want,
paste, and execute.
> This is more useful in rc since it doesn't
> store history or have ^n/^p etc bound to scrolling through
This makes perfect sense in the use case you describe.
Thank you for the explanation.
Grant. . . .
unix || die
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3717 bytes
Desc: S/MIME Cryptographic Signature
More information about the TUHS