Sergey Mkrtchyan wrote:
Hello List!

Through many pains I got the text file with some data and for plotting purposes I need to separate it into files... with minimal knowledge on bash scripting I was thinking maybe you could help me to figure that out... (I tried to sort that out by hand, but then realised it will probably take a month...)

I have special lines in my text file so, I'd love to be able to script something like this
read through lines
if come to the string "bla bla bla"{
take the number after ": " on that string and put in file named "something"...
        }

Maybe any references where I can read that, without going through "bash scripting for dummies"? :)

Thanks in advance and sorry for offtop.


Can you give us

A) some sample input

and

B) A description of what you are trying to accomplish.

That would help immensely.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to