From 04af786fb725dedadd782709278921df190c713f Mon Sep 17 00:00:00 2001 From: gennyble Date: Mon, 6 Nov 2023 05:31:38 -0600 Subject: exit with 0 when out of lines --- popline.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 popline.1 (limited to 'popline.1') diff --git a/popline.1 b/popline.1 new file mode 100644 index 0000000..2e6062a --- /dev/null +++ b/popline.1 @@ -0,0 +1,10 @@ +.TH POPLINE 1 +.SH NAME +popline \- popfront a file +.SH SYNOPSIS +.B popline +.IR file +.SH DESCRIPTION +.B popline +reads the first line of a file, writes the file to disk without that line, +and prints the line to stdout. \ No newline at end of file -- cgit 1.4.1-3-g733a5