|
From: | Overdorf, Sam |
Subject: | Bash is broken |
Date: | Sun, 13 May 2007 00:31:48 -0700 |
The following does not work on my computers: If [ "1" > "2" ] then echo "greater" else echo "not greater" fi Bash thinks this is I/O redirection and creates a file by the name of "2" in my directory. This should be a string compare. Thanks, Sam
[Prev in Thread] | Current Thread | [Next in Thread] |