So i'm interested in alternatives (ones where I can pipe input to them)
So let's say I have a file
Code: Select all
C:\ff\ff>for /L %f in (1,1,500) do @echo zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz >>testfile
And I want to display the first 3 lines of it and use pipe
Code: Select all
type testfile | head -n 3
I want some alternatives to gnuwin32 head, and not a gnuwin32 alternative.