 |
Howto: Linux command line utilities for removing blank lines from text files
Is that last shell script wrong? The for loop is using variable f, and inside the loop, everything is using variable i. I think the script should look more like: #!/bin/sh files=”/home/me/data/*.txt” # Next line is changed to use variable i, not f for i i
www.cyberciti.biz |
 |