-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/16/2014 3:24 PM, Stephan Beal wrote:
> 1) Move your cursor to the beginning of the line. In Bash-like
> shells that's normally Ctrl-A, but many terminals support the Home
> key as well.
> 
> 2) Type the '#' character (shift-3 on a US keyboard). That's the
> shell's comment-to-end-of-line marker.
> 
> 3) Tap ENTER

I do this a lot in bash.

This almost works in csh (which I am regrettably forced to use).  Yes,
the command is not executed but is still stuffed in the history buffer,
so the requirement is met.  But it also generates an annoying error
message about # not being found.  csh doesn't understand comments when
typed interactively.

yukonbob's trick with : does work in csh without complaint.  Thanks!  I
will definitely keep it in mind.

> Or, in the Bash shell, simply:
> 
> 1) Tap Escape, then type the # character. That does all 3 of the
> above at once.

Neat, I didn't know about this.

- -- 
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJToPLTAAoJELtYwrrr47Y43Y0H/jJLBWMy+XATUgUDa+K585sp
DcYC3QooXTuDwtX+45AmT3BbaNARDs0rBYK+85+7GgoUA1yAeAsV55tAyxK/JHZR
/psym9LX0S4q7ggvbymOqSCZ+QuzWpMSYEmSaIXGinvn8/o7eHj6YNAvF4A9wsNx
lopqK5AlrhQebc8DxDk6paVHYIzxwShAp1kMmRpkCjegT2PnkfxbqfqhxMYZLz0o
2gqXUrRunofwmyNOi2kPjPoi9DMAmGQuwSGUp0+FDrrVs/qhAKIZpH8JKdgWNe0z
cll7jDjLhU0Z2MR9rECVqvCj+AOzKBoptnttepgbHTEHblJNELUoTgkoJUp+k4g=
=+8vk
-----END PGP SIGNATURE-----
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to