2 ms·
If you're doing that, even better to use "x${1}" to be safer. Also, conditional expressions ( [[ instead of [ or `test`) are generally a bit more well-behaved.
by seanp2k2 12y ago
If you're doing that, even better to use "x${1}" to be safer. Also, conditional expressions ( [[ instead of [ or `test`) are generally a bit more well-behaved. See http://wiki.bash-hackers.org/syntax/ccmd/conditional_expression http://wiki.bash-hackers.org/syntax/ccmd/conditional_express... for more info.
- viraptor 12y agoBut [[ is a bashism - it won't work on bare sh.