more scripting probs... 
Author Message
 more scripting probs...

Quote:

>But this one only works on the commandline...

>sed -n ${linenum}p ${files[0]} | awk '{ print substr($0, "'"$colnum"'",
"'"$lastcol"'") }'

>I get this kind of error message...

>/pro511: sh -x vgrep.sh -vn [0-9] file
>+
>: command not found
>vgrep.sh: syntax error near unexpected token `else'
>vgrep.sh: vgrep.sh: line 83: `         else'

It's hard to say why that doesn't work without seeing all 83 or more
lines of the script.  Your script isn't 83 lines long?  Maybe you
mistyped a ` or $( somewhere.


Thu, 07 Aug 2003 07:07:53 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. expect: dialback script probs

2. ColorPicker/plug-in probs...

3. TPS probs on XP?

4. Probs building Squeak 2.0 was Re: Smalltalk on Linux

5. External dll probs

6. VisualLayoutTool probs

7. File Convert Probs - Underscore?

8. 5.5b probs

9. HINT - Printer Probs

10. Probs compiling 32bit Apps

11. New user probs with CW2

12. DosFileLookup probs?

 

 
Powered by phpBB® Forum Software