Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix command noset?

Status
Not open for further replies.

kukuluku

MIS
May 2, 2002
56
US
I inheret some program and it has a line:
. $HOME/.profile noset 2>&1 1>/dev/null

Can't seem to find what noset means. Can anyone explain?

Thanks in advance.
 
seems like your '$HOME/.profile' file/script takes one input parameter and its value in this case is 'noset'.

Check your '$HOME/.profile' file to see its command-line parsing logic - $1 etc

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
$HOME/.profile doesn't have any noset nor takes any parameter ($1). This line is in this program that I copied from and use it. Just can't find what this noset means. Maybe I don't need noset at all.

Thanks,

 
... which may affect processing in the profile, but also in the script.
 
check /etc/profile as something may have been set globally

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top