Re: printf

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Snyder, Alexander
Date:  
To: Main PLUG discussion list
Subject: Re: printf
I'm not working on anything specifically now, but the recent thread about
"xargs" vs. "-exec" got me thinking about it, I have seen and used column,
but (at the time) I was trying to create output in a table like
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
| header1 | header2 | header3 |

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
| value | value | value |

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

so on and so forth. I've seen that done, its fancy and I know that kind of
magic is done with printf (among other things) ... have you produced output
like that?

--
Thanks,
--:: Alexander J. Snyder ::--
--:: ThisGuyShouldWorkFor.Us <http://thisguyshouldworkfor.us> ::--
--:: "Never trust a computer you can't throw out a window. --Steve Wozniak"
::--
--

On Fri, Jul 31, 2015 at 8:11 PM, sean <> wrote:

> What sort of tables/output? Have you played with column (piping to column
> -t)?
> On Jul 31, 2015 8:08 PM, "Snyder, Alexander" <>
> wrote:
>
>> Hello all!
>>
>> I'm trying to find a tutorial that explains "PRINTF" as it relates to
>> usage in BASH, more specifically how to create tables based on output ...
>> aaand let's toss a bit of AWK in there, y'know just to complicate things
>> more, LOL. I've tried reading the man page about PRINTF [
>> http://linux.die.net/man/1/printf ] ... I've seen various tutorials,
>> about BASH, ,TABLES, and AWK, but I'm just not finding anything that can
>> really tie it together ... preferably with examples and maybe some
>> screenshots?
>>
>> Has anyone found any really good tutorials?
>>
>> I look forward to any suggestions from the community!
>>
>> -Alex
>>
>>
>> --
>> Thanks,
>> --:: Alexander J. Snyder ::--
>> --:: ThisGuyShouldWorkFor.Us <http://thisguyshouldworkfor.us> ::--
>> --:: "Never trust a computer you can't throw out a window. --Steve
>> Wozniak" ::--
>> --
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss