[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: e' possibile farlo in bash??? [versione corretta]



Alle 12:44, mercoledì 21 luglio 2004, Valerio Felici ha scritto:

#!/bin/sh
titolo=`head -1 testo.txt`
tipo=`sed -e '1d' testo.txt | head -1`
data=`sed -e '1,2d' testo.txt | head -1`
nomefile=$data+'.'+$tipo+'.'+$titolo
echo $nomefile


-- 
A presto
-Valerio-



Reply to: