Hi, i wrote a simple linux shell script to modify my nokia contacts files and add 050 befor every number in every contact file. it worked fine with all files except filenames that contain space.
for example file name "Mr John Smith.vcf", it show this error:
sed: can't read Mr: No such file or directory
sed: can't read John: No such file or directory
sed: can't read Smith.vcf: No such file or directory
mv: target `Smith.vcf' is not a directory
for a in *.vcf
sed 's/.*CELL:\([0-9]*\).*/TEL;CELL:050\1/' $a > 1$a |
mv 1$a $a
any idea !
sorry for my English