Le Ven 21 novembre 2008 02:10, Ding Honghui a écrit :.jpg > dhh@mud:~/test/jpg$ ls | awk -F_ '{print $2}' > 3563 > 3616 > 3620 IMHO, awk is quite oversized just to cut fields... It is typically a cut job : "cut -d_ -f2" ;-) Fanfan -- http://www.cerbelle.net - http://www.afdm-idf.org