[ale] UID variable in csh?

Joe Steele joe at madewell.com
Wed Oct 30 11:39:41 EST 2002




On Wed, 30 Oct 2002, John Wells wrote:

> It would be that simple, but it's an NIS managed box and I don't want to
> simply cat the yp/passwd file as it's location is likely to change.
> 
> The perl seems to work fine, though, as does your C solution.  I was just
> hoping there was a csh var available, as I'm not guaranteed perl will be
> installed on destination boxes and packaging a c executable involved a tad
> bit more overhead.
> 

Isn't it the case that csh is just a symbolic link to tcsh on most linux
systems?

In tcsh, you have the $uid variable available.

--Joe


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list