Search Results

Search: Posts Made By: snysmumrik
2,463
Posted By hanson44
This may be close to what you want, with some...
This may be close to what you want, with some modifications to better handle the initial part of the data in each timestep section.
$ cat atoms.awk
BEGIN { printf ("CRYST1 200.000 200.000 200.000...
2,463
Posted By hanson44
Both next and getline get the next record (next...
Both next and getline get the next record (next line).

The difference is:
- next restarts the script
- getline continues the script
2,463
Posted By RudiC
Please use code tags as required by forum rules! ...
Please use code tags as required by forum rules!

Replace the next command with getline. BTW, there's much opportunities to improve / trim / prune your code. First, indent code so the logics...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy