Messages in this thread | | | Date | Mon, 24 Aug 2009 00:06:56 +0800 | From | Américo Wang <> | Subject | Re: [PATCH v2] scripts: add typdef removal tool |
| |
On Sun, Aug 23, 2009 at 03:09:10PM +0200, Matthias Urlichs wrote: >On Fri, 2009-08-21 at 10:48 +0200, Jiri Slaby wrote: >> >> +if [[ $# -lt 3 ]]; then >> >> Could that be [ ] instead of [[ ]]? >> >Yes. In fact, it should be, as [[ ]] is a bashism.
Also that the classic test command is enough here, no need to bother conditional expression.
-- Live like a child, think like the god.
| |