Turns out the orignal file for this script had some embedded control character in it that was causing the bash interpreter to choke. After lots of quick small tests I stumbled on the fact that this thing runs fine if I just cut and paste it into a different file. If I copy the original file and try to run it with a different name it gives me the same error. Problem solved.
dynamox
9 Legend
•
20.4K Posts
1
October 29th, 2008 06:00
function get_fs_list {
date
}
get_fs_list
pzxkys
62 Posts
0
October 29th, 2008 07:00
pzxkys
62 Posts
0
October 29th, 2008 07:00
dynamox
9 Legend
•
20.4K Posts
0
October 29th, 2008 10:00