bash 3.1 on Solaris 9

2006-07-13 Thread Cheltenham, Christopher J
What can I do for this error? ld.so.1: bash: fatal: libiconv.so.2: open failed: No such file or directory Killed Thanks a bunch = Chris Cheltenham Computer Specialist Campbell Library @ Rowan University

Re: bash 3.1 on Solaris 9

2006-07-13 Thread Mike Frysinger
On Thursday 13 July 2006 14:06, Cheltenham, Christopher J wrote: What can I do for this error? not that this has anything to do with bash, but you could try installing the library bash is complaining about: ld.so.1: bash: fatal: libiconv.so.2: open failed: No such file or directory -mike

Re: PATH and $0

2006-07-13 Thread Bob Proulx
Stephane Chazelas wrote: $0 will always contain the file path, unless the script was started as: bash script.sh And there's no script.sh in the current directory (in which case sh/bash will have looked up script.sh in $PATH). Of course using command as you have done will work for bash.