hai all
I am new to the world of shell scripting
I wanted to extract two columns from multiple files say around 25 files
and i wanted to get the separate outfile for each input file
tired using the following command to extract two columns from 25 files
awk '/ATOM/ {print $4,$6}' *.A.pdb >all.txt
files names are like 1_A.pdb, 2_A.pdb, ... 25_A.pdb
but the problem is, its giving everything in a single file i dont want to get it like that
is there any other way to get separate files for each input file
please help me in this regard
thanks lot for ur time
Hema