run a2p to convert this to perl.#!/usr/bin/awk -f { gsub(/\^/, "|") } /^1/ { print >> "header.txt" } /^[234]/ { print >> "data.txt" } /^8/ { print >> "questions.txt" }
In reply to Re: Parsing a file and splitting into multiple files
by runrig
in thread Parsing a file and splitting into multiple files
by tariqahsan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |