Unix Technical Forum

Re: ksh scripting: unexpected `@'

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 06:11 AM
jared r r spiegel
 
Posts: n/a
Default Re: ksh scripting: unexpected `@'

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 ]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com