Alle 10:21, mercoled� 2 ottobre 2002, contorcendoti la mente su Re: [newbie-it] a un passo dalla soluzione..., Mario Lodi Rizzini hai scritto:
> Se non ho letto male, la sintassi dovrebbe essere la seguente: > tr [opzioni] sequenza_caratteri_da_cercare < file_input > file_output > Esempio: se vuoi cancellare il carattere ^M (invio) dal file di input, > penso dovrai scrivere: > tr -d "\r" < file_input > file_output Il massimo che ho ottenuto e' questo: [arwan@localhost biblib]$ tr -s # "\t" autore.txt autore2.txt tr: at least one string must be given when squeezing repeats [arwan@localhost biblib]$ tr -s "#" "\t" autore.txt autore2.txt tr: too many arguments Try `tr --help' for more information. (il # e' il carattere da sostituire) -- Arwan
