in reply to Re: Playing with code found on Perlmonks
in thread Playing with code found on Perlmonks
Oh - I hadn't realized we were golfing. In Unix, as in Perl, TMTOWTDI.
# Bourne shell and derivatives fname=`eval echo $fname` # Modern shells (e.g., Bash) fname=${fname/\~/$HOME}
Your turn, m'sieu? :)
-- Human history becomes more and more a race between education and catastrophe. -- HG Wells
|
|---|