BASH and YES or ECHO cannot send "!"

Les Mikesell lesmikesell at gmail.com
Wed Dec 14 21:27:45 UTC 2005


On Wed, 2005-12-14 at 12:14, Mike McCarty wrote:
> > Hmm sorry for this confusion, my remark was more general and not especially
> > dealing w/ your former post, and new was between (), just to point that the
> > sentence could even apply to new users. So let's consider how a bash newbie
> > would be confused to discover that a single ! between "" has a special
> > meaning :-). Of course, RTFM..
> 
> My point was to confirm and strengthen what you said. Even
> "old" users of bash find it confusing and find little
> "gotchas" hidden in unexplored nooks and crannies.
> 
> And, for bash, the FM has gotten too Fing big to read
> reasonably because it has too Fing many "features".

It's really no different than the way $var is handled inside
double quotes vs. single quotes which goes all the way back
to the bourne shell.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the fedora-list mailing list