TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
more bash
So, if you get info back from a command, and want to string compare the
first 3 characters, don't tell me I have to go do this in Perl or
something, do you?
day=`date`
if [ day = "Fri *" ]; then
.
.
.
doesn't work, nor does defining a Fri_str to compare it to. I promise
I'll get the book, but if someone can 'splain this to me, my family can
have me back tonight...
(Again, cc: to mend0070@tc.umn.edu, if possible. I will change that
too.)
Thanks a ton -- this is a heck of a list!
Phil