How to ensure one blank line on top of ASCII files?
Kristian Vaaf
vaaf at broadpark.no
Mon Feb 13 00:49:14 PST 2006
Hello!
I need to make sure all my ASCII files start with one blank line.
I just need to know what command to use,
I've written the rest of the script to do this for me:
--
for file in `find -s . -type f -not -name ".*"`; do
if file -b "$file" | grep -q 'text'; then
What to put here? :)
echo "$file: Done"
fi
done
--
Thanks! :)
Vaaf
More information about the freebsd-questions
mailing list