On Sat, Jun 27, 2020 at 06:32:11AM -0600, Todd C. Miller wrote:
> On Sat, 27 Jun 2020 06:50:39 +0100, Jason McIntyre wrote:
>
> > i'm not sure it reads better when we switch the emphasis from whitespace
> > to FS. i think it's better that people see how it normally works, then
> > the gories about
On Sat, Jun 27, 2020 at 06:32:11AM -0600, Todd C. Miller wrote:
> I wasn't sure that was an improvement either. Does this seem better?
To me it does, thanks.
OK kn
> Index: usr.bin/awk/awk.1
> ===
> RCS file: /cvs/src/usr.bin/awk/aw
On Sat, 27 Jun 2020 06:50:39 +0100, Jason McIntyre wrote:
> i'm not sure it reads better when we switch the emphasis from whitespace
> to FS. i think it's better that people see how it normally works, then
> the gories about FS. so i'd have kept the first part of the sentence,
> but maybe reworked
On Sat, Jun 27, 2020 at 06:50:39AM +0100, Jason McIntyre wrote:
> On Fri, Jun 26, 2020 at 09:28:00PM -0600, Todd C. Miller wrote:
> > On Fri, 26 Jun 2020 23:56:23 +0200, Klemens Nanni wrote:
> >
> > > How about adding something like "Therefore, FS should be set with -F or
> > > in a BEGIN block be
On Fri, Jun 26, 2020 at 09:28:00PM -0600, Todd C. Miller wrote:
> On Fri, 26 Jun 2020 23:56:23 +0200, Klemens Nanni wrote:
>
> > How about adding something like "Therefore, FS should be set with -F or
> > in a BEGIN block before input is read." as second sentence in this
> > paragraph?
>
> That w
On Fri, 26 Jun 2020 23:56:23 +0200, Klemens Nanni wrote:
> How about adding something like "Therefore, FS should be set with -F or
> in a BEGIN block before input is read." as second sentence in this
> paragraph?
That whole section is missing important details. I've tried to add
the missing info
On Fri, Jun 26, 2020 at 03:41:21PM -0600, Todd C. Miller wrote:
> The awk manual leaves a lot of things unspecified (buy the book ;-).
> Does this addition help clear things up?
Yes.
> Index: awk.1
> ===
> RCS file: /cvs/src/usr.bin/
On Fri, 26 Jun 2020 21:41:57 +0100, Stuart Henderson wrote:
> I don't know which is "correct" (the manpage isn't enlightening) but
> it was a bit unexpected so I wanted to at least draw attention to it
> in case it breaks somebody else's script.
The awk manual leaves a lot of things unspecified (
On Fri, 26 Jun 2020 21:41:57 +0100, Stuart Henderson wrote:
> The Sep 10, 2019 version of awk introduced a change in handling this:
>
> ifconfig egress | awk '/inet / {FS="[ .]"; print "host-"$4"-"$5"}'
>
> Given a line like
>
> inet 10.20.30.40 netmask 0xff00 broadcast 10.20.30.255
The Sep 10, 2019 version of awk introduced a change in handling this:
ifconfig egress | awk '/inet / {FS="[ .]"; print "host-"$4"-"$5"}'
Given a line like
inet 10.20.30.40 netmask 0xff00 broadcast 10.20.30.255
it used to return host-30-40, now it returns host-0xfff0-broadcast.
10 matches
Mail list logo