splitting a file on a pattern and naming the output files:
awk '/ENDMDL/{i++}{print > "file.pdb."i}' file
Today is
"Dwell in possibility".
awk '/ENDMDL/{i++}{print > "file.pdb."i}' file
1:08 PM | Filed Under | 0 Comments
Copyright 2008 White Space - WP Theme by Brian Gardner - Blogger Template by ThemeLib.com
Post a Comment