Re: which command I should use to output sequentially,

2011-07-27 Thread Ivan Shmakov
> lina writes: […] > May I ask further, which is the best (systematic) way of learning the > script, based on all your experience. Personally, my own way of learning Shell was hardly a “systematic” one. However, just for the record, I've used the GNU bash manual

Re: which command I should use to output sequentially,

2011-07-27 Thread lina
On Wed, Jul 27, 2011 at 5:33 PM, shawn wilson wrote: > Which 'script' are you referring to? > > If it is bash, I'll refer you to the 50 page monolith of a man page for that > (a must read whatever you do anyway imo) > > If you're referring to something else...? Those are something I even don't kno

Re: which command I should use to output sequentially,

2011-07-27 Thread shawn wilson
Which 'script' are you referring to? If it is bash, I'll refer you to the 50 page monolith of a man page for that (a must read whatever you do anyway imo) If you're referring to something else...? If you are in fact dealing with scientific data, I think the bioperl.orgpage is a good starting poi

Re: which command I should use to output sequentially,

2011-07-27 Thread lina
Thanks for all. May I ask further, which is the best (systematic) way of learning the script, based on all your experience. Welcome any advice, Thanks with regards, lina On Wed, Jul 27, 2011 at 4:54 PM, shawn wilson wrote: > > On Jul 27, 2011 4:28 AM, "Ivan Shmakov" wrote: >> >> > shawn

Re: which command I should use to output sequentially,

2011-07-27 Thread shawn wilson
On Jul 27, 2011 4:28 AM, "Ivan Shmakov" wrote: > > > shawn wilson writes: > > However, I'd look at some of the bio perl modules if this was the > > type of data I was looking at. Either way, learning dozens of tools > > to manipulate lots of data is quite time consuming, prone to failure

Re: which command I should use to output sequentially,

2011-07-27 Thread Ivan Shmakov
> shawn wilson writes: > On Jul 27, 2011 3:44 AM, "Ivan Shmakov" wrote: […] >> While I've little to say about using a database for this case, I'd >> strongly recommend /against/ using any office-like solutions for >> data processing, as these are generally overweight and rarely >> c

Re: which command I should use to output sequentially,

2011-07-27 Thread shawn wilson
On Jul 27, 2011 3:44 AM, "Ivan Shmakov" wrote: > > > shawn wilson writes: > > […] > > > Might I recommend a plethora of free database solutions available to > > you? I see this type of question quite frequently and am stunned to > > see such a thing here (or on other mailing lists for pla

Re: which command I should use to output sequentially,

2011-07-27 Thread Ivan Shmakov
> shawn wilson writes: […] > Might I recommend a plethora of free database solutions available to > you? I see this type of question quite frequently and am stunned to > see such a thing here (or on other mailing lists for platforms just a > poorly suited for such data). I'm not sure wh

Re: which command I should use to output sequentially,

2011-07-27 Thread shawn wilson
Might I recommend a plethora of free database solutions available to you? I see this type of question quite frequently and am stunned to see such a thing here (or on other mailing lists for platforms just a poorly suited for such data). I'm not sure what your data is from or what it is for but I a

Re: which command I should use to output sequentially,

2011-07-26 Thread Ivan Shmakov
> lina writes: > On Wed, Jul 27, 2011 at 1:36 PM, Ivan Shmakov wrote: […] >> $ sed -e 's/^\(\s*\w\+\s\+[^0-9[:blank:]]\+\)\([[:digit:]]\+\)/\1 \2/' \ >> | sort -nk 3,3 -k1,1 \ >> | sed -e 's/^\(\s*\w\+\s\+[^0-9[:blank:]]\+\)\s\([[:digit:]]\+\)/\1\2/' > Thanks, but there i

Re: which command I should use to output sequentially,

2011-07-26 Thread lina
On Wed, Jul 27, 2011 at 1:36 PM, Ivan Shmakov wrote: >> lina   writes: > >        First of all, a kindly reminder: there's a news:comp.unix.shell >        newsgroup (also available via Google Groups [1], though a proper >        newsreader software is recommended), with a few truly >        kn

Re: which command I should use to output sequentially,

2011-07-26 Thread Ivan Shmakov
> lina writes: First of all, a kindly reminder: there's a news:comp.unix.shell newsgroup (also available via Google Groups [1], though a proper newsreader software is recommended), with a few truly knowledgeable folks among the subscribers, which such question

Re: which command I should use to output sequentially,

2011-07-26 Thread lina
I just remember the sort command, but I still don't know how to get the ideal one, after I tried the sort -n -k2 , something changed on field 2 but it's still a bit away from the one I need. I attached the text, Thanks, 238CHO C10 3617 1.697 5.334 9.317 238CHO C11 3624 1.665

which command I should use to output sequentially,

2011-07-26 Thread lina
Hi, For something like 1a O28 1a H29 1a C1 1a C3 1a C8 1a C2 2a O28 2a H29 2a C1 2a C3 2a C8 2a C2 How can I make the output for the field 2 from C1, C2, C3... O28, H29? but still keep the first field as 1a 2a 3a ... Thanks for any suggestions, --