begin Daniel Cordey quotation of Fri, Dec 05, 2003 at 02:37:51PM +0100:

Hello,

> ls /mp3/* |\
> while read file
> do
>     album=$(basename file)
>     artist=$(basename ${album})
>     ./script /pochetteCD "${artist}" '__||__' "${album}"
> done

Ah pas mal cette idïe, ïa fait longtemps que je cherche une solution
"bash" (et sans modification de IFS) ï ce problïme de sïparation par
ligne vs espaces !

Est-ce la seule (probablement pas), ou y a-t-il d'autres astuces avec
le for par exemple?  Ce serait fort (sic) pratique!


-- 
Sebastien Cevey <[EMAIL PROTECTED]>
Cine7.Net  -  Milcis.Net  -  ProgramPlay.Org
Jabber: [EMAIL PROTECTED] - ICQ: 48895760

" A designer knows he has achieved perfection not when there is nothing
  left to add, but when there is nothing left to take away. "
Antoine de Saint-Exupïry 
_______________________________________________
gull mailing list
[EMAIL PROTECTED]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à