@INC equiv in .csh scripts ?

T

thewhizkid

Hi,

Is there a built in variable in shell scripts which will
print out the include search paths, similar to @INC in Perl ?

Wil "echo $path" also print include paths ?

THewHIZkID
 
M

Michael Korte

Wil "echo $path" also print include paths ?

Wrong NG - try comp.unix.misc or similar

I never worked with csh, (I use sh / bash) but try :
SOMEVAR=`set | grep PATH` # this will print the output of "set", filtered
by lines containing "PATH", into $SOMEVAR

HTH
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top