Following on from a question I posted in another thread but should have started my own thread for...
Can you see a problem with this script?
n=$( date | awk $3);
if [$n =< 7]; then
echo "do the thing";
I can't figure why I get the error: "line 3: 7: No such file or directory", 7 is an integer so why does it think it's supposed to be a file or directory?