Re: How to format the command output like MySQL output

2013-10-22 Thread Jonathan Dowland
On Mon, Oct 21, 2013 at 11:07:44AM -0400, Jerry Stuckle wrote: > And how is busybox going to solve the op's problem? The odds are he has it on the machine already, or can have it; if he doesn't have it, it can replace some things he does (thus saving space and memory); it can be compiled to have b

Re: How to format the command output like MySQL output

2013-10-21 Thread Joel Rees
On Mon, Oct 21, 2013 at 8:23 PM, Dan Ritter wrote: > On Sat, Oct 19, 2013 at 11:17:44PM -0400, Jerry Stuckle wrote: >> On 10/19/2013 9:17 PM, 陶治江 wrote: >> >于 2013-10-20 0:53, Lars Noodén 写道: >> >>On 19.10.2013 19:35, 陶治江 wrote: >> >>[snip] >> >>>I think it seems good like this, but I do not know

Re: How to format the command output like MySQL output

2013-10-21 Thread Jerry Stuckle
On 10/21/2013 10:08 AM, John Hasler wrote: Jerry Stuckle writes: But if it's so limited he can't load AWK or SED, then he won't be able to load scripting languages. He'll have to write something in C or a similarly compiled language. That's what busybox is for. He can modify it to add featur

Re: How to format the command output like MySQL output

2013-10-21 Thread John Hasler
Jerry Stuckle writes: > But if it's so limited he can't load AWK or SED, then he won't be able > to load scripting languages. He'll have to write something in C or a > similarly compiled language. That's what busybox is for. He can modify it to add features he needs and remove those he doesn't.

Re: How to format the command output like MySQL output

2013-10-21 Thread shawn wilson
On Mon, Oct 21, 2013 at 8:01 AM, Jonathan Dowland wrote: > On Sat, Oct 19, 2013 at 08:54:25PM -0600, Bob Proulx wrote: >> Check out perl formats. > > Great suggestion, it's a shame the user has (since) ruled out Perl. > Hardly anyone seems to discuss perl formats anymore ☺ > I think most people p

Re: How to format the command output like MySQL output

2013-10-21 Thread Jerry Stuckle
On 10/21/2013 7:23 AM, Dan Ritter wrote: On Sat, Oct 19, 2013 at 11:17:44PM -0400, Jerry Stuckle wrote: On 10/19/2013 9:17 PM, 陶治江 wrote: 于 2013-10-20 0:53, Lars Noodén 写道: On 19.10.2013 19:35, 陶治江 wrote: [snip] I think it seems good like this, but I do not know how to make out it.(someone sa

Re: How to format the command output like MySQL output

2013-10-21 Thread Jonathan Dowland
On Sat, Oct 19, 2013 at 08:54:25PM -0600, Bob Proulx wrote: > Check out perl formats. Great suggestion, it's a shame the user has (since) ruled out Perl. Hardly anyone seems to discuss perl formats anymore ☺ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "un

Re: How to format the command output like MySQL output

2013-10-21 Thread Dan Ritter
On Sat, Oct 19, 2013 at 11:17:44PM -0400, Jerry Stuckle wrote: > On 10/19/2013 9:17 PM, 陶治江 wrote: > >于 2013-10-20 0:53, Lars Noodén 写道: > >>On 19.10.2013 19:35, 陶治江 wrote: > >>[snip] > >>>I think it seems good like this, but I do not know how to make out > >>>it.(someone says awk, sed may help, bu

Re: How to format the command output like MySQL output

2013-10-20 Thread Lars Noodén
On 21.10.2013 01:33, Shawn Wilson wrote: > > > "Lars Noodén" wrote: >> On 20.10.2013 04:17, 陶治江 wrote: >>> 于 2013-10-20 0:53, Lars Noodén 写道: On 19.10.2013 19:35, 陶治江 wrote: [snip] > I think it seems good like this, but I do not know how to > make out it.(someone says awk, sed may h

Re: How to format the command output like MySQL output

2013-10-20 Thread Shawn Wilson
"Lars Noodén" wrote: >On 20.10.2013 04:17, 陶治江 wrote: >> 于 2013-10-20 0:53, Lars Noodén 写道: >>> On 19.10.2013 19:35, 陶治江 wrote: >>> [snip] I think it seems good like this, but I do not know how to make out it.(someone says awk, sed may help, but the environment does not permit it)

Re: How to format the command output like MySQL output

2013-10-20 Thread Joel Rees
On Sun, Oct 20, 2013 at 1:35 AM, 陶治江 wrote: > > Hello everylinuxers: > > I am now focusing on the development of a script interpretor (some thing > like shell) > in embedded environment, Okay, a shell-like programming language. Plenty of those, including busybox, as John pointed out. Dash, which

Re: How to format the command output like MySQL output

2013-10-20 Thread Lars Noodén
On 20.10.2013 04:17, 陶治江 wrote: > 于 2013-10-20 0:53, Lars Noodén 写道: >> On 19.10.2013 19:35, 陶治江 wrote: >> [snip] >>> I think it seems good like this, but I do not know how to make out >>> it.(someone says awk, sed may help, but the environment does not >>> permit it). Is there some libs or tools c

Re: How to format the command output like MySQL output

2013-10-20 Thread Linux-Fan
On 10/20/2013 03:17 AM, 陶治江 wrote: > 于 2013-10-20 0:53, Lars Noodén 写道: >> On 19.10.2013 19:35, 陶治江 wrote: >> [snip] >>> I think it seems good like this, but I do not know how to make out >>> it.(someone says awk, sed may help, but the environment does not >>> permit it). Is there some libs or tool

Re: How to format the command output like MySQL output

2013-10-19 Thread Jerry Stuckle
On 10/19/2013 9:17 PM, 陶治江 wrote: 于 2013-10-20 0:53, Lars Noodén 写道: On 19.10.2013 19:35, 陶治江 wrote: [snip] I think it seems good like this, but I do not know how to make out it.(someone says awk, sed may help, but the environment does not permit it). Is there some libs or tools can help make o

Re: How to format the command output like MySQL output

2013-10-19 Thread Miles Fidelman
陶治江 wrote: 于 2013-10-20 0:53, Lars Noodén 写道: On 19.10.2013 19:35, 陶治江 wrote: [snip] I think it seems good like this, but I do not know how to make out it.(someone says awk, sed may help, but the environment does not permit it). Is there some libs or tools can help make output result good and e

Re: How to format the command output like MySQL output

2013-10-19 Thread Bob Proulx
陶治江 wrote: > I am now focusing on the development of a script interpretor (some > thing like shell) in embedded environment, and its functions mainly > output the data in specified address. In order to make it seems > better, I want to format the output result like MySQL output listed > below for e

Re: How to format the command output like MySQL output

2013-10-19 Thread John Hasler
Hack on busybox. -- John Hasler jhas...@newsguy.com Elmwood, WI USA -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87txgck9ok@thumper.dhh.gt.org

Re: How to format the command output like MySQL output

2013-10-19 Thread 陶治江
于 2013-10-20 0:53, Lars Noodén 写道: On 19.10.2013 19:35, 陶治江 wrote: [snip] I think it seems good like this, but I do not know how to make out it.(someone says awk, sed may help, but the environment does not permit it). Is there some libs or tools can help make output result good and elegent? [sn

Re: How to format the command output like MySQL output

2013-10-19 Thread Slavko
Hi, Dňa Sun, 20 Oct 2013 00:35:49 +0800 陶治江 napísal: > I think it seems good like this, but I do not know how to make out > it.(someone says awk, > sed may help, but the environment does not permit it). Is there some > libs or tools can > help make output result good and elegent? python has s

Re: How to format the command output like MySQL output

2013-10-19 Thread Lars Noodén
On 19.10.2013 19:35, 陶治江 wrote: [snip] > I think it seems good like this, but I do not know how to make out > it.(someone says awk, sed may help, but the environment does not > permit it). Is there some libs or tools can help make output result > good and elegent? [snip] Perl would be the next st

How to format the command output like MySQL output

2013-10-19 Thread 陶治江
Hello everylinuxers: I am now focusing on the development of a script interpretor (some thing like shell) in embedded environment, and its functions mainly output the data in specified address. In order to make it seems better, I want to format the output result like MySQL output listed belo