logoalt Hacker News

cantoyesterday at 9:44 AM0 repliesview on HN

q() { local output output=$("$@" 2>&1) local ec=$? echo "$output" | tail -5 return $ec }

There :)