Re: How Much is Too Much? (WAS: formatting a list)

2013-10-02 Thread Charles DeRykus
On Wed, Oct 2, 2013 at 1:58 AM, James Griffin wrote: > * Shawn H Corey [2013-10-01 17:34:06 -0400]: > > > On Tue, 1 Oct 2013 14:14:16 -0700 > > Charles DeRykus wrote: > > > > > I'm not bucking for "net nanny" but, while full solutions and > > > follow-on discussions can be enlightening, I wonde

Re: How Much is Too Much? (WAS: formatting a list)

2013-10-02 Thread James Griffin
* Shawn H Corey [2013-10-01 17:34:06 -0400]: > On Tue, 1 Oct 2013 14:14:16 -0700 > Charles DeRykus wrote: > > > I'm not bucking for "net nanny" but, while full solutions and > > follow-on discussions can be enlightening, I wonder if they're really > > advantageous to the OP. Not to embarrass a

Re: How Much is Too Much? (WAS: formatting a list)

2013-10-01 Thread Shawn H Corey
On Tue, 1 Oct 2013 14:14:16 -0700 Charles DeRykus wrote: > I'm not bucking for "net nanny" but, while full solutions and > follow-on discussions can be enlightening, I wonder if they're really > advantageous to the OP. Not to embarrass anyone but there was no > mention of DIY attempts, no solici

Re: formatting a list

2013-10-01 Thread Charles DeRykus
On Mon, Sep 30, 2013 at 7:43 AM, Rajeev Prasad wrote: > thank you Shawn. this works nicely for me. > > > -- > *From:* Shawn H Corey > *To:* beginners@perl.org > *Cc:* Rajeev Prasad > *Sent:* Saturday, September 28, 2013 8:49 AM > *Subj

Re: formatting a list

2013-09-30 Thread Rajeev Prasad
thank you Shawn. this works nicely for me. From: Shawn H Corey To: beginners@perl.org Cc: Rajeev Prasad Sent: Saturday, September 28, 2013 8:49 AM Subject: Re: formatting a list On Fri, 27 Sep 2013 22:59:01 -0700 (PDT) Rajeev Prasad wrote: > i w

Re: formatting a list

2013-09-28 Thread Shawn H Corey
On Fri, 27 Sep 2013 22:59:01 -0700 (PDT) Rajeev Prasad wrote: > i want them to look neat, something like this: where they look in > line. I do not know before hand how long each word would be > > abc124567 > xy4z___xtr4__sdf > PQRSDR_xcvf__scc234 > > how could i use the sprintf to o

Re: formatting a list

2013-09-28 Thread Rob Dixon
On 28/09/2013 06:59, Rajeev Prasad wrote: hello, following is obtained by concatenating 3 values using an underscore to produce a list: |abc_12_4567 xy4z_xtr4_sdf PQRSDR_xcvf_scc234| i want them to look neat, something like this: where they look in line. I do not know before hand how long each

Re: formatting a list

2013-09-28 Thread Rob Dixon
On 28/09/2013 06:59, Rajeev Prasad wrote: hello, following is obtained by concatenating 3 values using an underscore to produce a list: |abc_12_4567 xy4z_xtr4_sdf PQRSDR_xcvf_scc234| i want them to look neat, something like this: where they look in line. I do not know before hand how long each

Re: formatting a list

2013-09-28 Thread Shlomi Fish
Hi Jing, On Sat, 28 Sep 2013 16:53:20 +0800 Logust Yu wrote: > Hi Rajeev, > I guess you can use printf to print them into strings, and then replace the > spaces with underscores. > The problem with using sprintf and a replace operation like that, like you suggest is that it won't handle traili

Re: formatting a list

2013-09-28 Thread Logust Yu
ofc it should be "sprintf"... 2013/9/28 Rajeev Prasad > hello, > > following is obtained by concatenating 3 values using an underscore to > produce a list: > > abc_12_4567 > xy4z_xtr4_sdf > PQRSDR_xcvf_scc234 > > i want them to look neat, something like this: where they look in line. I > do not

Re: formatting a list

2013-09-28 Thread Logust Yu
Hi Rajeev, I guess you can use printf to print them into strings, and then replace the spaces with underscores. Regards, Jing 2013/9/28 Rajeev Prasad > hello, > > following is obtained by concatenating 3 values using an underscore to > produce a list: > > abc_12_4567 > xy4z_xtr4_sdf > PQRSDR_x

Re: formatting a list

2013-09-27 Thread Shlomi Fish
Hi Rajeev, On Fri, 27 Sep 2013 22:59:01 -0700 (PDT) Rajeev Prasad wrote: > hello, > > following is obtained by concatenating 3 values using an underscore to > produce a list: > > abc_12_4567 > xy4z_xtr4_sdf > PQRSDR_xcvf_scc234 > i want them to look neat, something like this: where they look i

formatting a list

2013-09-27 Thread Rajeev Prasad
hello, following is obtained by concatenating 3 values using an underscore to produce a list: abc_12_4567 xy4z_xtr4_sdf PQRSDR_xcvf_scc234 i want them to look neat, something like this: where they look in line. I do not know before hand how long each word would be abc124567 xy4z___