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

Thanks for that, I agree.