Hola !
On Thu, Dec 15, 2005 at 03:50:25PM +1300, Carl Cerecke wrote:
> Perl is unnecessary for this. There is the basename utility:

Yes, I agree but it was about giving and reading the different options
:)

> I prefer this to the perl line-noise incantation :-)

heh I like the noise.

The same base regex with sed, just another option and that's what I like
from unix-like systems! there's a million of ways to do the same!

[EMAIL PROTECTED]:~$ cat urls |sed -e 's/.*\/\(.*\)$/\1/'
Sources.bz2
Packages.bz2
sourcefile-2.3.4.tar.bz

Cheers,

-- 
  Matías Rollán
  <[EMAIL PROTECTED]>

Reply via email to