Thread (11 messages) flat view 11 messages, 8 authors, 2016-06-15

Re: [PATCH] Avoid using non-portable `echo -n` in tests.

From: Francis Galiegue <hidden>
Date: 2016-06-15 22:45:33

Le Friday 31 October 2008 19:39:33 Jeff King, vous avez écrit :
[...]
Agreed, and actually I found such a bashism (test ==) last week (though
of course it also broke on FreeBSD).
As for bash-isms, a hunt for $(...) also looks necessary...

$ grep -rl '\$([^)]\+)' $(find -type f)|wc -l
272

Unless I'm mistaken (and I probably am), the $(...) construct is 
bash-specific, isn't it?

-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 6 83 87 78 75
Tel : +33 (0) 1 78 94 55 52
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help