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

https://codeberg.org/EvanHahn/dotfiles/raw/commit/843b9ee13d...

This can be replaced with

sed -n $1p\;$1q

Test it versus

head -$1|tail -1



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

Search: