several usenet script

processNgFile.sh 817B

    #!/bin/bash NEWZNAB_PATH="/home/newznab/nnplus/misc/update_scripts" ALLBACKUPS="$HOME/scripts/allProcess.txt" old_IFS=$IFS IFS=$'\n' for line in $(cat "$1"); do PARAM1=$(echo $line | awk -F" ¤¤ " '{ print $1 }') echo "File:" $PARAM1 PARAM2=$(echo $line | awk -F" ¤¤ " '{ print $2 }') echo "Text:" $PARAM2 PARAM3=$(echo $line | awk -F" ¤¤ " '{ print $3 }') echo "Text:" $PARAM3 PARAM4=$(echo $line | awk -F" ¤¤ " '{ print $4 }') echo "Text:" $PARAM4 PARAM5=$(echo $line | awk -F" ¤¤ " '{ print $5 }') echo "Text:" $PARAM5 PARAM6=$(echo $line | awk -F" ¤¤ " '{ print $6 }') echo "Text:" $PARAM6 $HOME/scripts/sendng.sh $PARAM1 $PARAM2 $PARAM3 $PARAM4 $PARAM5 $PARAM6 echo "$line" >> $ALLBACKUPS done IFS=$old_IFS cd $NEWZNAB_PATH /usr/bin/php5 $NEWZNAB_PATH/update_releases.php