?

Log in

No account? Create an account
Linux Community's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Thursday, March 20th, 2008

Time Event
12:54p
sed or awk...
I'm looking for a sed or awk one(ish) liner to remove all characters at the beginning of a line, up through the first dash.

Example:
blah-ditty-blah-3
would turn into:
ditty-blah-3

I'm assuming sed or awk would be the thing to use, but I'm having an issue figuring out how to get this done. Anyone have a suggestion?

<< Previous Day 2008/03/20
[Calendar]
Next Day >>
About LiveJournal.com