Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sed/awk question
Date: Tue, 22 Nov 2011 02:54:13
Message-Id: CAC=wYCG8XsLDNzyeYB2i_E4j9x868BOk2evdgsXLC=GMeCySvQ@mail.gmail.com
1 Hi All,
2
3 I need to cut a string, which happens to be a filename, using the
4 first dash that's followed by a numeral, so cut -f 1 -d"-" fails if
5 the filename has an extra dash. How do i do this?

Replies

Subject Author
Re: [gentoo-user] sed/awk question Pandu Poluan <pandu@××××××.info>
Re: [gentoo-user] sed/awk question Joseph Davis <joseph@××.edu>
Re: [gentoo-user] sed/awk question Benjamin Lee <ben@××××××.com>