This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
But not if the user pushes it :(
echo .:/foo:.:/bar:.:.:/baz:. | sed -e "s/:\.:/:/g" -e "s/:\.$//" -e "s/^\.://"
/foo:/bar:.:/baz
$ echo .:/foo:.:/bar:.:.:.:/baz:. | sed -e "s/\(:\.\)\+:/:/g" -e "s/:\.$//" -e "s/^\.://" /foo:/bar:/baz
-- Regards,
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |