From: | Al <oss.elmar@××××××××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Not head, not tail, maybe belly | ||
Date: | Wed, 22 Sep 2010 15:48:02 | ||
Message-Id: | AANLkTinKqBRxBUvhM9NyykPBe_vTRPQYy8WtuPW8vn5N@mail.gmail.com | ||
In Reply to: | Re: [gentoo-user] Not head, not tail, maybe belly by Florian CROUZAT |
1 | >> grela@pazuzu ~ $ cat /etc/passwd | sed -n -e '4,10 p' |
2 | > |
3 | > |
4 | > Best solution so far, but useless use of cat, and the subshell overhead of the pipe. |
5 | > |
6 | |
7 | Thank you. Nice solutions and they reveal that there is no "belly" |
8 | like program in coreutils. |
9 | |
10 | I find it interesting, that the two bordercases are considered while |
11 | the general approach (range), that would cover all, is missing. Is |
12 | that rather for performance or for historical reasons? |
13 | |
14 | Al |
Subject | Author |
---|---|
Re: [gentoo-user] Not head, not tail, maybe belly | Alan McKinnon <alan.mckinnon@×××××.com> |