Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Calling cut with a newline as the field delimiter works:

man systemd | cut -d $'\n' -f 4

Works with multiple lines too:

cut -d $'\n' -f 10-20,50-60



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: