-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 16, 2017 at 02:56:01PM +0100, Clive Standbridge wrote:
> 
> > The "declare", OTOH, is pretty Bashist. But it can be replaced by
> > a simple "echo":
> 
> True. It was just a convenient way of showing that the variable hadn't
> absorbed any white space. 

Understood. Please, don't get me wrong -- I'm not an anti-Bashist, by
far (on the contrary, I'm a fan of Bash and some of its features,
actually). Much less was I trying to criticize you, who provided that
nifty script in the first place.

Just trying to raise awareness about (the few) shell variation idiosyncracies
I know about, to help making people's lives easier.

> Besides, I was just picking up the "Bash can't do it" gauntlet. I'd
> often prefer awk in such a situation (like Erik and Greg have
> mentioned).

Uh, oh. Bash can do quite a lot of things :-)

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmUWSMACgkQBcgs9XrR2kbkGgCfZTPk07MqjQza0MCbS4KnWojp
VokAnjyBNWqZ0Jx5DSYwxK69vm5XRfhG
=juko
-----END PGP SIGNATURE-----

Reply via email to