Skip to content
Browse files

README: runawk doesn't want trailing -f

  • Loading branch information...
1 parent 765dca3 commit d29b0541f702921a2d351dd0bba71cd7160d19f4 @dubiousjim committed May 5, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 README
View
10 README
@@ -79,13 +79,13 @@ This is where the runawk stub program makes things easier. It is prepared for th
file /path/qux.awk
------------------
- #!/usr/bin/runawk -f /usr/share/awkenough/library.awk -f
+ #!/usr/bin/runawk -f /usr/share/awkenough/library.awk
...
------------------
-When you try to exec qux.awk [...args...], the kernel will invoke:
+(Note that here we leave off the terminal "-f".) When you try to exec qux.awk [...args...], the kernel will invoke:
- "/usr/bin/runawk" "-f /usr/share/awkenough/library.awk -f" "/path/qux.awk" [...args...]
+ "/usr/bin/runawk" "-f /usr/share/awkenough/library.awk" "/path/qux.awk" [...args...]
and runawk will in turn invoke:
@@ -133,7 +133,7 @@ and its effect is to guarantee that the awk program being invoked is handed stdi
file /path/greet.awk
------------------
- #!/usr/bin/runawk -f /usr/share/awkenough/library.awk -f
+ #!/usr/bin/runawk -f /usr/share/awkenough/library.awk
BEGIN {
print "Hello, " ARGV[1]
ARGV[1] = ""
@@ -149,7 +149,7 @@ You can work around this manually, by inspecting and rewriting all your ARGVs as
file /path/greet.awk
------------------
- #!/usr/bin/runawk -f /usr/share/awkenough/library.awk --stdin -f
+ #!/usr/bin/runawk -f /usr/share/awkenough/library.awk --stdin
...
------------------

0 comments on commit d29b054

Please sign in to comment.
Something went wrong with that request. Please try again.