[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: insert file?
- From: Alan Cox <alan lxorguk ukuu org uk>
- To: For users of Fedora <fedora-list redhat com>
- Cc:
- Subject: Re: insert file?
- Date: Wed, 28 Nov 2007 19:56:51 +0000
> head -n 3 file;who;tail -n $(echo "$(wc -l file | cut -d " " -f 1) -3" |bc) file
( head -n3 file; who; tail +3 file) > newfile 2> errors
Much easier ;)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]