From: | Etaoin Shrdlu <shrdlu@×××××××××××××.org> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: [OT] Bash scripting | ||
Date: | Fri, 11 Nov 2005 15:24:06 | ||
Message-Id: | 200511111632.07637.shrdlu@unlimitedmail.org | ||
In Reply to: | [gentoo-user] Re: [OT] Bash scripting by Peper |
1 | On Friday 11 November 2005 15:12, Peper wrote: |
2 | |
3 | > And one more thing, is there any smarter way to read one line of file |
4 | > then head -n x file|tail -n 1 ? |
5 | |
6 | sed -n -e '12p' file.txt |
7 | |
8 | prints the 12th line of "file.txt" |
9 | -- |
10 | gentoo-user@g.o mailing list |
Subject | Author |
---|---|
[gentoo-user] Re: [OT] Bash scripting | Peper <peper@×××××.pl> |