Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Gawk how to get retrun value from command while piping output

$
0
0
Hi, I'm trying to do this:
ret = system("curl -s " "someurl") | getline var
But I'm getting errors. What's the right way to do this?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>