Andrea Ganduglia wrote: > [..] > ma se io volessi instanziare lo script cosi': > > echo ciao | script > > come faccio a catturare lo STDIN di echo e passarlo a script? >
Se vuoi appoggiarti ad un file temporaneo: #!/bin/sh .. cat > temp_file.$$ .. # Tutte le operazioni che vuoi leggendo dal file temp_file.$$ .. rm temp_file.$$ exit 0 Ciao, -- | .' ' `. Andrea Berardi aka Syneus | : :' : Debian User | `. `'` | `- Linux Registered User #395193 | Debian GNU/Linux http://counter.li.org/ | http://www.debian.org -- 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]