Howdy,
I've got a script that I've been running under cygwin on a Win98 machine. Now that I've corrected that error I'm trying to get it to run under OS X.
It is supposed to look in a directory of folders with numbers as names and find the name of the lowest numbered folder:
flrng=`dir /sw/backup/files --format=single | head -n 1`
This works in cygwin, but flrng ends up without value when I drop this on the Terminal window.
Thanks for any help!
I've got a script that I've been running under cygwin on a Win98 machine. Now that I've corrected that error I'm trying to get it to run under OS X.
It is supposed to look in a directory of folders with numbers as names and find the name of the lowest numbered folder:
flrng=`dir /sw/backup/files --format=single | head -n 1`
This works in cygwin, but flrng ends up without value when I drop this on the Terminal window.
Thanks for any help!