initial commit
This commit is contained in:
11
chapter5/function_merge_fixed_length_records
Executable file
11
chapter5/function_merge_fixed_length_records
Executable file
@@ -0,0 +1,11 @@
|
||||
function merge_fixed_length_records
|
||||
{
|
||||
# set -x
|
||||
while read RECORDFILENAME
|
||||
do
|
||||
|
||||
sed s/$/$(basename $RECORDFILENAME 2>/dev/null)/g $RECORDFILENAME >> $MERGERECORDFILE
|
||||
|
||||
done < $RECORDFILELIST
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user