Hi everyone!
I am a newbie to linux and I have one
problem:
I am curently trying to make my first mp3 box. I
use mp3blaster wich is configured to send the output to a file called
current_info_mp3. The output looks something like this:
path song.mp3
status playing
mode JointStereo
format MPEG 1 layer 3
bitrate 128
samplerate 44100
length 195
next next_song.mp3
My question is how can I break
apart the lines in the file so as a result I would have individual files
containing the information, meaning a file containing as text the path, another
one the status, and so on, because I would like to send this info to an lcd
display.
My kind request is that you
provide some authentic examples of doing it, because I have tried to do this
with some text handling commands (cat, awk, grep) but I still cant make it work.
Also I would like to remove the description before parameters ("path", "status",
"mode", etc.).
Thanks in
advance! |
- Re: File handling... Radu Popa
- Re: File handling... Cameron Simpson