經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供