> By definition, a login shell has "-" as the first character of $0. The > following test should work for both ksh and bash: > > if [[ $0 == -* ]]; then echo "This is a login shell"; fi
I am now kicking myself all the way to the script... Norman _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
