1

Need help in File Processing Script

view story
linux-howto

http://www.unix.com – I made one script in shell, but it is not running in my server. So i am trying to make perl for the same. Can anyone help me? Code: #!/bin/sh p=`date '+20%y%m%d'` cp Process_*"$p"*.txt /tmp/ cat /tmp/number.txt | egrep -v "Prefix|---|" | sed -e 's/ //g' -e '/^$/d' | nawk -F"->" 'BEGIN{FS="->";OFS=","} {print $1,$2}' > /tmp/numberserieslookup.txt cat /tmp/numberserieslookup.txt | nawk 'BEGIN{FS=OFS=","} { print substr($1,3,14),$2}' > /tmp/lookup.txt for i in `cat  /tmp/lookup.txt  |awk -F, '{print $2}' |sort (HowTos)