Apr 10, 2003 #1 BIS Technical User Jun 1, 2001 1,893 NL Any ideas what this might mean? It comes from a part like this: a=`wc -m /txt.txt | awk '{print$1}'` if [ "$a" > "500" ] then (something) What does ^E2(^A500 mena?
Any ideas what this might mean? It comes from a part like this: a=`wc -m /txt.txt | awk '{print$1}'` if [ "$a" > "500" ] then (something) What does ^E2(^A500 mena?
Apr 10, 2003 #2 mrn MIS Apr 27, 2001 3,993 GB Where do you get this error, what is your OS, what shell are you using. can you post the full script -- | Mike Nixon | Unix Admin | http://www.parcandgo.co.uk---------------------------- Upvote 0 Downvote
Where do you get this error, what is your OS, what shell are you using. can you post the full script -- | Mike Nixon | Unix Admin | http://www.parcandgo.co.uk----------------------------
Apr 10, 2003 Thread starter #3 BIS Technical User Jun 1, 2001 1,893 NL Posting the full script would be a bit too much.... It seems I have messed up vi somehow...or perhaps typed some invisible characters - I don't know. This is SunOS5.6 If I comment out almost everything, with #'s, I now get ^E3^\\357\377\377\261: not found which makes me even more confused... Upvote 0 Downvote
Posting the full script would be a bit too much.... It seems I have messed up vi somehow...or perhaps typed some invisible characters - I don't know. This is SunOS5.6 If I comment out almost everything, with #'s, I now get ^E3^\\357\377\377\261: not found which makes me even more confused...
Apr 10, 2003 Thread starter #4 BIS Technical User Jun 1, 2001 1,893 NL NEVER MIND !!! ......... Sorry, It was the shell complaining that it couldn't find some characters. I had forgotten to hash out a comment after a function so I had something like this; Function() Description changing it to Function() # Description solved it. Many thanks for your time and sorry for a silly mistake. By the way, is it possible to call a function from within another function? Upvote 0 Downvote
NEVER MIND !!! ......... Sorry, It was the shell complaining that it couldn't find some characters. I had forgotten to hash out a comment after a function so I had something like this; Function() Description changing it to Function() # Description solved it. Many thanks for your time and sorry for a silly mistake. By the way, is it possible to call a function from within another function?
Apr 10, 2003 #5 mrn MIS Apr 27, 2001 3,993 GB yes function a { function b { ls -al } ls b } -- | Mike Nixon | Unix Admin | ---------------------------- Upvote 0 Downvote
yes function a { function b { ls -al } ls b } -- | Mike Nixon | Unix Admin | ----------------------------