Behead

behead

Remove the first n lines from stdin (default: 1). Good for stripping header lines from command output.

Arguments

  • $1 (int): Optional: number of lines to remove (default: 1)

Exit codes

  • 0: Always

Output on stdout

  • Input with leading lines removed