erlug
[Top] [All Lists]

Re: [Erlug] [bash] passare come arg filenames with blanks

To: ERlug - Lista Pubblica <erlug@xxxxxxxxxxxxxx>
Subject: Re: [Erlug] [bash] passare come arg filenames with blanks
From: Filippo Biondi <fbiondi@xxxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 14:33:29 +0200
On Tue, Oct 17 2006, at 13:11:25 +0200, Ivan Sergio Borgonovo wrote:
> cat "pippo Due.txt" dovrebbe suggerirti q.che cosa.

Come ho detto, per il singolo parametro e' ok (come lo e' xargs) ma e'
sull'orgia di file in input che non va mica bene

> guarda bene l'output di ls a seconda della larghezza del tuo xterm.
> 
> ls -1 *.txt | while read

qui non ho afferrato...

> ivan@dark:~/test$ echo tonno >tonno
> ivan@dark:~/test$ echo morto >morto
> ivan@dark:~/test$ cat tonno morto
> tonno
> morto
> ivan@dark:~/test$ cat tonno;cat morto
> tonno
> morto

claro

> 
> o meglio
> 
> for i in *.txt
> 

ripeto, con un file alla volta non ho problemi 

grazie

Ciao
Filo
-- 
Filippo Biondi
[Ubuntu|Debian] GNU User
Linux Registered User #357105
Proud member of
.:ERLUG:.
no1984.org member - Stop TCG!

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