fileName : files.txt
50 Cent - Ayo Technology.lrc
AC DC - Back In Black.lrc
acdc - highway to hell.lrc
acdc - thunderstruck.lrc
Adele - Hello.lrc
Adele - Send My Love (To Your New Lover).lrc
Adele - Someone Like You.lrc
Adele - Water Under the Bridge.lrc
Adele - When We Were Young.lrc
Alan Walker - Faded.lrc
Alesso - Falling.lrc
Alle Farben - Please Tell Rosie (feat. YOUNOTUS) [OFFICIAL VIDEO].lrc
Amy Shark - Adore.lrc
Andy Grammer - Honey, I'm Good.lrc
Anne-Marie - Alarm.lrc
Aqua - Barbie Girl.lrc
Ariana Grande - Focus.lrc
AURORA - Half the World Away.lrc
Avicii - The Nights.lrc
Avicii - Wake Me Up.lrc
Avril Lavigne - Girlfriend.lrc
Band Aid - Do They Know It's Christmas.lrc
Bastille - Good Grief.lrc
Ben Haenow - Second Hand Heart (feat. Kelly Clarkson).lrc
Big Sean - Bounce Back.lrc
Birdy - Wings.lrc
Blonde & Craig David - Nothing Like This.lrc
Bob Marley - Is This Love.lrc
Bon Jovi - Livin' on a Prayer.lrc
Boney M - Brown Girl In The Ring.lrc
Boney M - Mary's Boy Child_oh My Lord.lrc
BONEY M - RIVERS OF BABYLON.lrc
Bruno Mars - 24K Magic.lrc
=============================
IFS=-
while read line
do
set $line
echo $2 >>song.txt
done <files.txt
==============================
Output
Ayo Technology.lrc
Back In Black.lrc
highway to hell.lrc
thunderstruck.lrc
Hello.lrc
Send My Love (To Your New Lover).lrc
Someone Like You.lrc
Water Under the Bridge.lrc
When We Were Young.lrc
Faded.lrc
Falling.lrc
Please Tell Rosie (feat. YOUNOTUS) [OFFICIAL VIDEO].lrc
Adore.lrc
Honey, I'm Good.lrc
Marie
Barbie Girl.lrc
Focus.lrc
Half the World Away.lrc
The Nights.lrc
Wake Me Up.lrc
Girlfriend.lrc
Do They Know It's Christmas.lrc
Good Grief.lrc
Second Hand Heart (feat. Kelly Clarkson).lrc
Bounce Back.lrc
Wings.lrc
Nothing Like This.lrc
Is This Love.lrc
Livin' on a Prayer.lrc
Brown Girl In The Ring.lrc
Mary's Boy Child_oh My Lord.lrc
RIVERS OF BABYLON.lrc
24K Magic.lrc
IFS=-
#i=1
while read line
do
set $line
#x=`expr $i % 2`
#if [ $x -eq 0 ]
#then
echo $2 >>song.txt
#echo "working $i ..."
#fi
#i=`expr $i + 1`
done <files.txt
No comments:
Post a Comment