carta
buthead(1)

buthead1

Copies all but the first few lines

Usage

buthead count

bh count

Examples

buthead 5 <file-with-5-line-header >file-without-header
seq 5 | buthead 3

Overview

Buthead copies all but the first count lines of stdin to stdout.

Diagnostics

Terminates gracefully if EOF encountered within first count lines.

History

  • Debian 13 (Trixie) to Debian 6.0 (Squeeze): the text shown here
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)
  • Debian 3.1 (Sarge)
  • Debian 3.0 (Woody)

Author

Written by Barak A. Pearlmutter on April 1.

Bugs

Functionality overlaps with tail -n +count or awk '(NR>count)' or sed 1,countd

From buthead 1.1-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.