To: | erlug@xxxxxxxxxxxxxx |
---|---|
Subject: | Re: [Erlug] dubbio in bash (pipe e commenti) |
From: | Francesco Gigli - Checco <jaramir@xxxxxxxx> |
Date: | Thu, 29 Apr 2004 00:45:52 +0200 |
Il 28 apr 2004, alle 11:55:25 +0200, Ivan Sergio Borgonovo ha scritto: > Bash ha le funzioni, potrebbe aiutare. cosi'? - - - - - LISTA="topolino.tar.gz pippo.tar.gz pluto.tar.gz " togli_tar_gz () { read line echo $line | sed -e 's/\.tar\.gz//' } for EL in $LISTA do echo $EL | togli_tar_gz | rev | rev done - - - - - in effetti e' piu' chiaro di "eval $variabile" altri suggerimenti? -- Francesco Gigli mail&jabber: jaramir@xxxxxxxx http://slack.it A)bort, R)etry, I)nfluence with large hammer. |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [Erlug] modificare l'orario di n files, Guido Bolognesi [Zen] |
---|---|
Next by Date: | Re: [Erlug] Concetti banali, Enrico Zini |
Previous by Thread: | Re: [Erlug] dubbio in bash (pipe e commenti), Ivan Sergio Borgonovo |
Next by Thread: | Re: [Erlug] dubbio in bash (pipe e commenti), Andrea Paolini |
Indexes: | [Date] [Thread] [Top] [All Lists] |