I have two files, the first is 'ax':
#!/usr/bin/env zsh
print "Params: $*"
cat $*
And another one 'tst':
#! /home/me/ax
A
B
C
When I am in sh/csh/bash shell:
> ./tst
./tst: line 2: A: command not found
./tst: line 3: B: command not found
./tst: line 4: C: command not found
When I am in zsh shell:
Params: ./tst
#! /IW/users-home/e640846/ax
A
B
C
Is there a standard way to have the behavior I get in the zsh shell in other shell?
precision: - bash version: 3.00.15-(1) release (x86_64-redhat-linux-gnu)
Thanks