Re: using whence

2003-06-27 Thread Brandon Willis
`$cmd` or it identical twin qx($cmd) both shell out and actually do an sh -c. So if you are looking for something specifically in ksh you'll have to run ksh from within the qx(). |b On Thu, 2003-06-26 at 16:21, David Parker wrote: Hi. I have a perl script that calls various programs. I would

RE: using whence

2003-06-27 Thread David Parker
. Something about piping it makes the value come back. Oh well, probably something weird in my UNIX environment. Thanks for the responses. - DAP -Original Message- From: Brandon Willis [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:36 PM Cc: [EMAIL PROTECTED] Subject: Re: using

Re: using whence

2003-06-27 Thread Jeff Westman
David Parker wrote: Hi. I have a perl script that calls various programs. I would like to be able to verify that a given program is being called from the right place - what I would use whence for in the korn shell. I tried $path = `whence $cmdname`; but I don't get anything

RE: using whence

2003-06-27 Thread David Parker
Excellent. That explains why the pipe made it work. Thanks! - DAP -Original Message- From: Jeff Westman [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 11:04 AM To: beginners Subject: Re: using whence David Parker wrote: Hi. I have a perl script that calls various

using whence

2003-06-26 Thread David Parker
Hi. I have a perl script that calls various programs. I would like to be able to verify that a given program is being called from the right place - what I would use whence for in the korn shell. I tried $path = `whence $cmdname`; but I don't get anything in $path. I'm undoubtedly missing

Re: using whence

2003-06-26 Thread Brett W. McCoy
David Parker wrote: Hi. I have a perl script that calls various programs. I would like to be able to verify that a given program is being called from the right place - what I would use whence for in the korn shell. I tried $path = `whence $cmdname`; but I don't get anything in $path. I'm