This is a discussion on Re: ksh scripting: unexpected `@' within the lucky.openbsd.misc forums, part of the OpenBSD category; --> On Thu, Aug 10, 2006 at 11:06:40PM -0400, jared r r spiegel wrote: > > the /closest/ thing i'm ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Thu, Aug 10, 2006 at 11:06:40PM -0400, jared r r spiegel wrote: > > the /closest/ thing i'm aware of wrt the '@' being interpreted as > a regex by ksh would be in filename patterns - but even then, it only > indicates that the stuff following in the ERE-like '(a|b|c)' > construct should be matched by a literal exact 'a' or 'b' or 'c', > it's not doing regular expression magics. i suck; it's not 'literal exact', it'd be subject to regular shell globbing like any other 'pattern'. > i'd venture to say that '@' is the most frequently unnecessarily > escaped character in ascii(7). man... if i escaped the '@' there, i might've had a friggin' quote. -- jared [ openbsd 3.9-current GENERIC ( jul 29 ) // i386 ] |