retitle 270035 "shell-init: error retrieving current directory" is pointless in scripts tags 270035 + wontfix thanks
tagging as wontfix, intending to close the report. > Andrew Pimlott: > > Chet Ramey: > > A matter of opinion. I think it's worthwhile to inform the running user > > that certain things, like $PWD, will not work as intended in this case. > > Is it worthwhile to inform the user who runs someone else's script > though? He is not the one using $PWD, the script is. Most scripts > don't even use $PWD, so they'll work fine. You could still give a > warning when $PWD is used in the script, since that will often lead to a > failure. But even then, it will probably be fairly obvious what the > problem is when it happens. > > Consider that it is possible in nearly every other language to write a > program that doesn't bother the user when it is run in a deleted > directory. Also, other shells on my system don't make any noise about > this. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]