Hi all,
I've been working on a simple egrep expression for about a day now and i'm hoping someone will have some more insight to it than I do. Basically, what I want my egrep expression to do is return the first letter of an environment variable called $NAME, which is actually an echo of 'whoami'. I would think that egrep ^. $NAME would work...but noooooooo. Any ideas out there? Thanks. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
I've been working on a simple egrep expression for about a day now and i'm hoping someone will have some more insight to it than I do. Basically, what I want my egrep expression to do is return the first letter of an environment variable called $NAME, which is actually an echo of 'whoami'. I would think that egrep ^. $NAME would work...but noooooooo. Any ideas out there? Thanks. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~