erlug
[Top] [All Lists]

Re: [Erlug] Eliminare porzioni di testo

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] Eliminare porzioni di testo
From: Zen <zen@xxxxxxxxx>
Date: Fri, 2 Aug 2002 15:10:53 +0200
On Fri, Aug 02, 2002 at 12:08:55PM +0200, munehiro wrote:
> compreso o escluso il "/" ?
> sed 's/\/.*$/\//g'
> se non ti serve il / puo' andare bene anche cut -d'/' -f 1

        giusto, anche
        awk -F/ '{print $1}'

-- 
'Why do you close your eyes?' 'So that the room will be empty.'
zen@xxxxxxxxx . Geek . And proud of it .
http://www.kill-9.it/jargon/html/entry/zen.html


<Prev in Thread] Current Thread [Next in Thread>