#!/bin/ksh
for i in `ls *.sql`
do
cat $i | sed '/^$/d' | sed '/;/G' | sed 's/;//g'| sed 's/^$/@/g' >> manu.txt
done
for i in `ls *.sql`
do
cat $i | sed '/^$/d' | sed '/;/G' | sed 's/;//g'| sed 's/^$/@/g' >> manu.txt
done
UNIX/Linux problem solving blog, Good for beginners and experts. UNIX interview preparation guide. Top Unix interview questions and answers. awk,sed,vi shell,perl solutions of Unix problems.
No comments:
Post a Comment