help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] print float number


From: Chris F.A. Johnson
Subject: Re: [Help-bash] print float number
Date: Thu, 9 Jan 2014 14:12:10 -0500 (EST)
User-agent: Alpine 2.10 (DEB 1266 2009-07-14)

On Thu, 9 Jan 2014, Bob Proulx wrote:
...
I am sure there is a better way to grab the last two characters from a
string.  Suggestions?

${foo: -2}

   (Note the space after the colon.)

--
Chris F.A. Johnson, <http://cfajohnson.com>



reply via email to

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