Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #193357

Re: Does bash have a tool ?

From Richard Owlett <rowlett@cloud85.net>
Newsgroups linux.debian.user
Subject Re: Does bash have a tool ?
Date 2018-03-05 10:10 +0100
Message-ID <vpUi5-EQ-9@gated-at.bofh.it> (permalink)
References <vpDKh-6pa-1@gated-at.bofh.it> <vpEmZ-6Vm-3@gated-at.bofh.it> <vpEGm-72R-5@gated-at.bofh.it> <vpRay-6P9-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/04/2018 11:40 PM, Erik Christiansen wrote:
> On 04.03.18 10:28, Richard Owlett wrote:
>>
>> I don't have any background in Perl and the last formal course in
>> programming was in the 60's.
>>
>> However awk and/or sed may be what I'm looking for and are well documented.
>> Your description of nedit is interesting. I'll investigate. I'm on my way
>> out at the moment.
> 
> Awk and Sed were created in the unix big bang, and might indeed be just
> be your speed. (Some enhancements have been added to Awk since, such as
> co-processes, but the current use case won't need that.)
> 
> It seems you're onto some doco, but this is hard to beat:
> The Addison Wesley "The AWK programming Language" is a slender concise
> exposition of the tool's use and capabilities, written by Awk's authors,
> Aho, Weinberger, and Kernighan. The permuted index greatly eases finding
> stuff in it.
> 
> This is a quick start: www.gnu.org/software/gawk/manual/gawk.html
> Like the Addison Wesley dead-tree book, its "Sample Programs" shows that
> Awk has a C-like syntax, supercharged with posix regexes, associative
> arrays, etc.
> 
> A quick intro to regular expressions can be found in:
> $ man regex
> (Awk defaults to the more compact and easily read EREs, rather than
> obsolete BREs.)
> 
> The awk manpage is a good reference, but as with all manpages, not a
> tutorial.
> 
> Over the last three decades or more, I've found that Awk and shell have
> more than adequately handled all my text munging requirements, right up
> to a C-code generator taking structured English input to create
> heterogenous communities of interacting state machines.
> 
> Erik

As to "manpages not a tutorial" <snicker> <snicker> *ROFL*
I'll admit content is there, but ...  ....
I've been referred to vim. Although awk and cousins are probably under 
the surface, vim.org is fascinating and accessible to end users such as 
myself.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-04 16:30 +0100
  Re: Does bash have a tool ? rhkramer@gmail.com - 2018-03-04 17:10 +0100
    Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-04 17:30 +0100
      Re: Does bash have a tool ? rhkramer@gmail.com - 2018-03-04 18:10 +0100
        Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-04 20:10 +0100
          Re: Does bash have a tool ? Richard Hector <richard@walnut.gen.nz> - 2018-03-05 03:20 +0100
            Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-05 04:10 +0100
              Re: Does bash have a tool ? John Hasler <jhasler@newsguy.com> - 2018-03-05 04:30 +0100
                Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-05 10:20 +0100
                Re: Does bash have a tool ? John Hasler <jhasler@newsguy.com> - 2018-03-05 15:30 +0100
                Re: Does bash have a tool ? Curt <curty@free.fr> - 2018-03-05 16:20 +0100
                Re: Does bash have a tool ? John Hasler <jhasler@newsguy.com> - 2018-03-05 18:10 +0100
            Re: Does bash have a tool ? rhkramer@gmail.com - 2018-03-05 05:40 +0100
      Re: Does bash have a tool ? John Hasler <jhasler@newsguy.com> - 2018-03-04 19:20 +0100
        Re: Does bash have a tool ? David Wright <deblis@lionunicorn.co.uk> - 2018-03-05 02:00 +0100
          Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-05 04:20 +0100
      Re: Does bash have a tool ? Erik Christiansen <dvalin@internode.on.net> - 2018-03-05 06:50 +0100
        Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-05 10:10 +0100
          Re: Does bash have a tool ? Erik Christiansen <dvalin@internode.on.net> - 2018-03-05 11:20 +0100
  Re: Does bash have a tool ? Curt <curty@free.fr> - 2018-03-04 18:30 +0100
    Re: Does bash have a tool ? Richard Owlett <rowlett@cloud85.net> - 2018-03-05 11:30 +0100
      A recomended guide to vim - was {Re: Does bash have a tool ?} Richard Owlett <rowlett@cloud85.net> - 2018-03-07 16:40 +0100
        Re: A recomended guide to vim - was {Re: Does bash have a tool ?} Curt <curty@free.fr> - 2018-03-07 22:10 +0100
          Re: A recomended guide to vim - was {Re: Does bash have a tool ?} Richard Owlett <rowlett@cloud85.net> - 2018-03-09 13:40 +0100
        Re: A recomended guide to vim - was {Re: Does bash have a tool ?} Cousin Stanley <cousinstanley@gmail.com> - 2018-03-09 14:20 +0100
  An answer - was [Re: Does bash have a tool ?] Richard Owlett <rowlett@cloud85.net> - 2018-03-05 01:00 +0100
    Re: An answer - was [Re: Does bash have a tool ?] Forest Dean Feighner <forest.feighner@gmail.com> - 2018-03-05 02:00 +0100
  Re: Does bash have a tool ? Gregory Seidman <gsslist+debian@anthropohedron.net> - 2018-03-05 22:50 +0100

csiph-web