Search Results

Search: Posts Made By: Michael Fitz
8,575
Posted By Don Cragun
That is an interesting way to find what we're...
That is an interesting way to find what we're looking for in bash. Looking at the bash man page, it isn't obvious to me why it works.

Unfortunately, it doesn't really work for ksh. It works the...
8,575
Posted By vgersh99
how about this approach [covering bash/ksh -...
how about this approach [covering bash/ksh - might need to enhance it for other (zsh/sh/etc)]

#!/bin/ksh
#set -x

#echo "\$0 ->[${0}] \$# -> [${#}] \$_ -> [${_}] "
case "${0}" in
-bash)...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy