Guest_imported
New member
- Jan 1, 1970
- 0
hello, I use awk for little cgi-scripts. I made some awk-libs, now I want to include them in my script.
#!/usr/bin/awk -f
...rest of the script...
works fine.
When I try to include one or more libs, it fails miserably:
#!/usr/bin/awk -f lib1.awk -f lib2.awk -f
...rest of my script...
I tried this with gawk and mawk, none of them work. The manpages of mawk say that multiple -f's are allowed.
Could anyone find the proper syntax for this, or do I have to escape it in a way because it is in the bangpath of my executable?
GruBen,
Pirre <kbr@sjca.edu.eu.org>
PS. Please send me a mail too with an answer
#!/usr/bin/awk -f
...rest of the script...
works fine.
When I try to include one or more libs, it fails miserably:
#!/usr/bin/awk -f lib1.awk -f lib2.awk -f
...rest of my script...
I tried this with gawk and mawk, none of them work. The manpages of mawk say that multiple -f's are allowed.
Could anyone find the proper syntax for this, or do I have to escape it in a way because it is in the bangpath of my executable?
GruBen,
Pirre <kbr@sjca.edu.eu.org>
PS. Please send me a mail too with an answer