Search Results

Search: Posts Made By: chedlee88-1
19,899
Posted By chedlee88-1
Re: Adding header and trailer into a file
#!/bin/sh

for i in filelist*
do
NUMCHAR=`cat $i | wc -c`
echo "ABC,$NUMCHAR" >${i}.new
cat $i >>${i}.new
done


Video tutorial on how to use code tags in The UNIX and Linux...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy