René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle
-
Most wanted
-
Feedback
Printing the first lines with sed
The following sed script prints the first four lines of a file:
ed -n '1
{
N
N
N
p
}
' some-file