May I request some help?
This is the big data block I got:
Mode 1 2 3 4 5 6
Symmetry: 1 B1G 1 E2U 1 E2U 1 B2U 1 E2G 1 E2G
mu 504.72215 550.38168 550.38333 579.74361 673.09113 673.11267
l( 1x)...
Thanks annihilannic.
That last answer was great.
May I request more help?
Sometimes I got different file...more complicate it.
This is the big data block now:
Mode 1 2 3 4 5 6
Symmetry: 1 B1G 1 E2U 1 E2U 1 B2U 1 E2G...
Thanks segment and Annihilannic.
Your last code Annihilannic is working pretty good, however
I would like to get 3 blocks from each big block.
example: first block second block third
--------------- ---------------- ---
Atom AN X Y Z...
What i need is something that can work independently of how many big data block i have.
I think that can be dependent of lines number.
Check that after the string :
Atom AN X Y Z X Y Z X Y Z
A new big data block begins!
I used what u told me...
Hello again.
That big data block can be to small like this next:
*****************************************************
Low frequencies --- 2170.0460 4140.0019 4391.0666
Harmonic frequencies (cm**-1), IR intensities (KM/Mole),
Raman scattering activities (A**4/AMU), Raman depolarization...
I tried to use this command on a linux box and i did,t get correct stuff:
first:
sed -n '1,22p archi.dat |awk '{print $2," "$3," "$4," "$5}' >> archivo.dat
then i got shell prompt and i typed:
printf "\n\n" >> archivo.dat
is this process correct?
Hello segment.
That first try is what i meant.
I would like to get those three data blocks and get those saved in a new file.
firs Data Block:
1 0.17 -0.12 0.02
1 0.17 -0.11 0.19
1 0.26 -0.20 -0.04
6 -0.16 0.11 0.03
1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.