I have a program to list database files.
It is called direkly from the shell like
to list the whole file, or like
db 'filename :: conditions'
to list only selected elements ...
Another way is to call it with a file, wich contains all parameters.
db < parameterfile
The content is like (quite the same as the content in '' above):
filename :: conditions
Now I woud like do make such a file executable. So that i can call just
To use a shebang
#!/usr/bin/env db failed, because
# is not a comment sign, I think. I got the error message
db - Line 1 near ""#.//r" - " - syntax error shell returned 26
Is there a one-liner to do this?