yes, that's the problem, it only outputs the first, second, and fourth line!
ii sed 4.1.5-6 The GNU sed stream editor Debian Lenny 2010. 05. 12, szerda keltezéssel 12.25-kor Hugo Vanwoerkom ezt írta: > Jozsi Vadkan wrote: > > I have a file: > > > <snip> > > > > > > And i want to only output the first, second, and fourth line to another > > file. > > > > The: > > > > sed -n '1,2p;4p' file.txt > > > > h...@debian:~$ sed -n '1,2p;4p' file.txt > daemon > 1): > 0 > > ii sed 4.1.5-8 The GNU sed stream editor > > Hugo > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/1273765762.3998.1.ca...@localhost

