![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: quick way to add a line to a file, if it's not already present (automating tweaking of /etc/ld.so.conf for installing Image::Magick)by VSarkiss (Monsignor) |
on Nov 17, 2006 at 18:28 UTC ( #584772=note: print w/replies, xml ) | Need Help?? |
As you mentioned, TIMTOWTDI. I think I'd rather stick with doing more with bash since that's what most of the script is in. If you want a one-liner you could always separate the parts with a ; :-). Something like: You probably already thought of this, but I figured I'd document it for posterity's sake.
In Section
Seekers of Perl Wisdom
|
|