From mboxrd@z Thu Jan 1 00:00:00 1970 From: bakul@bitblocks.com (Bakul Shah) Date: Wed, 19 Apr 2017 10:36:23 -0700 Subject: [TUHS] Bourne shell and comments In-Reply-To: Your message of "Wed, 19 Apr 2017 10:31:53 MDT." References: <20170418204834.GA22198@minnie.tuhs.org> <020a01d2b885$94bd49c0$be37dd40$@ronnatalie.com> Message-ID: <20170419173623.7097B124AEAD@mail.bitblocks.com> On Wed, 19 Apr 2017 10:31:53 MDT Grant Taylor wrote: > I think you're effectively doing the same thing that I'm doing by having > > my prompt start with '#', thus turning copy & paste ""errors into > pasting comments. Just a difference of a '#' comment character and a > ':' label. > > I see little difference between ':' and '#' in this case. > > Please help me understand if I'm wrong. 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. This is more useful in rc since it doesn't store history or have ^n/^p etc bound to scrolling through history.