in reply to Re: Quick Regex Needed
in thread Quick Regex Needed
The above would work out the same way if the result of "uname -s" had been linux or unix.$ uname -s Darwin $ echo '\one\two\three\four' \one\two\three\four $ echo '\one\two\three\four' | perl -MFile::Basename -lne 'print basename($_)' \one\two\three\four $ echo '\one\two\three\four' | perl -MFile::Basename -lne 'BEGIN{fileparse_set_fstype("DOS")} prin +t basename($_)' four
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Quick Regex Needed
by ikegami (Patriarch) on Oct 22, 2008 at 02:20 UTC |