n.b.

quota meglio! ;)
http://erlug.linux.it/~tann/quote.txt


Il giorno lun, 20/02/2006 alle 17.31 +0100, Andrea Ganduglia ha scritto:
>         
> 
> Il tuo esempio mi ha dato la giusta ispirazione
> 
> #!/bin/bash
> read INPUT
> echo $INPUT
> 
> ~$ echo CIAO | script
> CIAO
> 
> Aspetto conferme... 

ok pero' cosi' ti perdi l'eventuale argomento passato...

infatti,seguendo il tuo esempio, se scrivi

./script CIAO

quello rimane li' ad aspettare un input da STDIN.

Se pero' lo devi *solo* utilizzare in pipe allora ok.

Ciao
Filo

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


-- 
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]

Rispondere a