[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UNIX shells - Bourne and C



In article <[🔎] 20021110220327.GA14845@aokiconsulting.com>,
Osamu Aoki  <osamu@debian.org> wrote:
>On Sun, Nov 10, 2002 at 11:41:34AM +0000, Miquel van Smoorenburg wrote:
>> In article <[🔎] 20021110074334.GB8943@aokiconsulting.com>,
>> Osamu Aoki  <osamu@debian.org> wrote:
>> >By the way, dash will be the POSIX shell in testing/unstable
>> >Bashism such as "export FOO=bar" is no-no :)
>> 
>> That's not a bashism, that's valid POSIX syntax and has been
>> for at least 10 years or so.
>
>Sorry, I might have got confused.  It worked on dash :-)
>So what is the typical bashinsm we should be really careful?

The whatever{foo,bar} syntax is very common but a bashism (and zshism).
For example diff -u file.c{.orig,}

Mike.



Reply to: