in reply to Re^2: Slicing the output of a command
in thread Slicing the output of a command
Why cat the whole file just to discard all but the first four lines:
my @foo = `head -4 very_large_file`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Slicing the output of a command
by marioroy (Prior) on Jul 10, 2015 at 04:00 UTC | |
by afoken (Chancellor) on Jul 10, 2015 at 10:21 UTC | |
by BrowserUk (Patriarch) on Jul 10, 2015 at 11:17 UTC |