I'd do this like:
#!/bin/bash
python -c '
import sys
for line in sys.stdin:
fields = line.split()
count =0
for field in fields[1:]:
upper = field.upper()
print(upper)
if upper == "NA":
count += 1
print("{} {}".format(fields[0], count))
'
On Saturday, February 13, 2016 at 10:42:37 PM UTC-8, konsolebox wrote:
> Hi Chet,
>
> Please consider adding a mirror of bash's git repo in github.com. It
> would be easier for many people in the community to contribute code
> and discuss it there.
Chet probably has his own thoughts on this, but
On Monday, February 15, 2016 at 6:19:56 AM UTC-8, Chet Ramey wrote:
> On 2/14/16 12:53 PM, strom...@gmail.com wrote:
> > On Saturday, February 13, 2016 at 10:42:37 PM UTC-8, konsolebox wrote:
> >> Hi Chet,
> >>
> >> Please consider adding a mirror of bash's git repo in github.com. It
> >> would be
.
Consider:
http://stromberg.dnsalias.org/~strombrg/database/
Hi folks.
I feel a little guilty asking this, because I know Chet's pretty busy, and
there may be plenty of good reasons to release on a regular schedule, or to
release "when it's ready".
But it looks like there were about 3 years between bash' 4.2 GA and 4.3 GA.
Should I expect that it'll be