Y
Hacker News
new
|
ask
|
show
|
jobs
by
networked
694 days ago
I find awk more clear for this kind of job. You can replace
grep -Po "(?<=ip=)(.*)"
with
awk -F= '$1 == "ip" { print $2 }'
1 comments
macote
693 days ago
Thanks for that, I agree.
link