Ciao,
Fri, May 28, 2010 at 03:45:05AM -0700, Walter Valenti wrote:
> Problemino:
> devo estrarre alcuni nomi di file/directory.
> Lo risolvo in maniera semplice con
> ls -al | awk {'print $9'} | grep vari.
>
> Problema: alcuni di questi file/directory possono essere nomi con una spazio
> in mezzo
> Come faccio ad estrarre interamente il nome di quest'ultimi ?
OLDIFS=$IFS
IFS="
"
.....
IFS=$OLDIFS
--
Bye Enrico
Riffle West Virginia is so small that the Boy Scout had to double as the
town drunk.
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]