Hacker News new | ask | show | jobs
by Domenic_S 5036 days ago
xargs instead of that sed (I assume you're prepending your command to run there).

grep -i 'pattern' file | awk '{print $5}' | xargs cmd