[Top][All Lists]

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

Re: [Groff] PDF_IMAGE and MOM

From: Ingo Schwarze
Subject: Re: [Groff] PDF_IMAGE and MOM
Date: Sun, 2 Nov 2014 21:46:14 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Mikkel,

mikkel meinike wrote on Sun, Nov 02, 2014 at 08:31:08PM +0100:
> Ulrich Lauther wrote:

>> rose=${1%.pnm}

> Thank you ulrich.  That is a good tip.  Yes bash can do a lot of things
> by it self.  I tend to always use the external commands.

Note that in portable software (and for build systems), you should
not blindly use random features of bash(1), but only features of the
portable POSIX shell, see

in this case

In the case at hand, Ulrich is right, the percent syntax for suffix
removal *is* portable.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]