#!/bin/ksh
# http://mandrivausers.org/index.php?/topic/21998-reading-a-text-file-line-by-line-with-bash/
FILES=./*.txt
for f in $FILES
do
echo "Processing $f file..."
# take action on each file. $f store current file name
while read LINE
do
echo $LINE
done < $f
done
Subscribe to:
Post Comments (Atom)
Notebooks
illuminate.google.com notebooklm.google.com
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Use 'Disk Utility' application to format the USB drive in MS-DOS (FAT) format Download the windows ISO file from the Windows websit...
No comments:
Post a Comment