[Gllug] Stripping whitespace in bash script

Dylan dylan at dylan.me.uk
Fri Aug 11 23:23:35 UTC 2006


Hi All,

I'm working on a script which extracts the tags from ogg and mp3 files and 
distributes the files in a directory structure according to the tag contents.

I've found that some files have tags with excess whitespace at the end. What 
methods are there for removing this whitespace in a bash script?

Thanks

Dylan
-- 
"The man who strikes first admits that his ideas have given out."
                                                (Chinese Proverb)
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list