How would i take the output of a file dump it into another file while at the same time sorting it?
this is my script..simple i know!?
PHP Code:
echo "Enter the file log you wish to use. [ENTER]: "
read file
awk '{print $1,$2,$4,$5}' $file >> list
Im trying to dump it into that list file and sort it at the same time..any ideas?