IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New awk hell, halp
trying to get the digits to the right of the blank space to stuff a variable with, no joy
thanx in advance
bill
# cat foo.out|awk "{print $2}"
adminnumusers: 2
adminnumusers: 1
adminnumusers: 4
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 13
adminnumusers: 1
adminnumusers: 5
adminnumusers: 1
adminnumusers: 203121
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 1
# cat foo.out | awk -F: "{print $2}"
adminnumusers: 2
adminnumusers: 1
adminnumusers: 4
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 13
adminnumusers: 1
adminnumusers: 5
adminnumusers: 1
adminnumusers: 203121
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 1
# cat foo.out | awk -F":" "{print $2}"
adminnumusers: 2
adminnumusers: 1
adminnumusers: 4
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 1
adminnumusers: 13
adminnumusers: 1
adminnumusers: 5
adminnumusers: 1
adminnumusers: 203121
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 0
adminnumusers: 1
#
All tribal myths are true, for a given value of "true" Terry Pratchett
[link|http://boxleys.blogspot.com/|http://boxleys.blogspot.com/]

Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 48 years. meep
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New try -F" "
Haven't tried this, just a guess.


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New same issue, went to cut -d: -f2 nstead, thanx
All tribal myths are true, for a given value of "true" Terry Pratchett
[link|http://boxleys.blogspot.com/|http://boxleys.blogspot.com/]

Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 48 years. meep
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New perl -ne 'print "$1\\n" if / (\\d+)/' foo.out
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     awk hell, halp - (boxley) - (3)
         try -F" " - (pwhysall) - (1)
             same issue, went to cut -d: -f2 nstead, thanx -NT - (boxley)
         perl -ne 'print "$1\\n" if / (\\d+)/' foo.out -NT - (ben_tilly)

Those bastards!
63 ms