> in cadru unei comenzi vreau sa folosesc niste nume de fisiere dar aceste
> nume arata cam asa: /home/user/asta e fisierulx.c
> acest nume as vrea sa-l bag intr-o comanda de genul:
>
> for fis in `find /home/user/ -iname '*.c' -print` ; do comanda -param1
> -param2 ${fis} ; done
>
Schimba IFS-ul (inplicit este space tab new-line) si lasa-l doar
new-line
ifs=$IFS
IFS='
'
#scriptul tau
IFS=$ifs
--
-------------------------------------------------------
Constantin Vasiliu * StipoSoft System Administrator
[EMAIL PROTECTED] * Linux Registered User #166419
-------------------------------------------------------
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.