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

Re: Eliminating bash scripts?

On Wed, Sep 28, 2011 at 03:59:40PM +0100, Simon McVittie wrote:

> If you can use ${x%%y}, ${x#y} etc. to achieve the same effect (you
> often can), you get the best of both worlds. I believe they're
> specified by POSIX; certainly, current dash supports them, and they're
> in the SUS.

SuSv3 -- POSIX:2001
SuSv4 -- POSIX:2008

So if they're in SuS, they're specified by POSIX :)

While I've read the SuSv3 quite thoroughly, I have yet to study the
SuSv4, so I dunno how big the differences are, and if any of them are

Regards: David
 /) David Weinehall <tao@debian.org> /) Rime on my window           (\
//  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   //  Diamond-white roses of fire //
\)  http://www.acc.umu.se/~tao/    (/   Beautiful hoar-frost       (/

Reply to: