Re: Bash commands: maybe they want to drive us crazy?
From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 07/01/04
- Next message: chris-usenet_at_roaima.co.uk: "Re: CPIO VS TAR for Backup?"
- Previous message: matthieu imbert: "Re: Rdms (MySQL) as backend for OpenLDAP"
- In reply to: GP: "Re: Bash commands: maybe they want to drive us crazy?"
- Next in thread: matthieu imbert: "Re: Bash commands: maybe they want to drive us crazy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 1 Jul 2004 10:50:01 +0200
GP <gilpel@inverse.nretla.org> wrote:
> Bill Unruh wrote:
>
> > ]find -iname . "*IPv6*"
> >
> > -iname is an option which takes one argument. That argument to the option in this case is
> > '*IPV6*' (NOT "*IPv6*" because the latter would cause the shell to expand
> > the *s, not find)
>
> Ok. Let's examine this first argument. Mr Unruh pretends that
>
> double quotes cause the shell to expand the *
He's just made a mistake - that's all. Double quotes protect from
globbing expansions too. What they don't do is protect from variable
and backtick expansion.
> If we include something inside of double-quotes, everything loses its special
> meaning except for the variable operator ($), the back-slash (\), the back-tick (`)
More or less, yep.
> http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=20
>
Peter
- Next message: chris-usenet_at_roaima.co.uk: "Re: CPIO VS TAR for Backup?"
- Previous message: matthieu imbert: "Re: Rdms (MySQL) as backend for OpenLDAP"
- In reply to: GP: "Re: Bash commands: maybe they want to drive us crazy?"
- Next in thread: matthieu imbert: "Re: Bash commands: maybe they want to drive us crazy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]