help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] Sustitute to bash read or util-linux line in pure bash?


From: Garreau\, Alexandre
Subject: [Help-bash] Sustitute to bash read or util-linux line in pure bash?
Date: Tue, 13 Mar 2018 16:50:37 +0100
User-agent: Gnus (5.13), GNU Emacs 25.1.1 (x86_64-pc-linux-gnu)

I learned using read to split in lines is considered bad practive
because of unportability and IFS stuff, then I discovered “line” from
util-linux was doing something similar, while head/tail -n1 wasn’t, any
idea of a similar way of doing this (like line or read but without them)
in pure bash?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]