On Aug 8, 2014, at 3:35 PM, Paul Gilmartin 
<[email protected]> wrote:

> "tail +2" (not +1!?  "Fencepost error".) strips off the first line.  Is there 
> a utility
> to strip the last line?  There seems to be no corresponding option for "head".

"head -1" works for me. z/OS:

# printf "foo"|uuencode -m newfile|tail +2|head -1
hpaW

Mac OS X:
$ printf "foo"|uuencode -m newfile|tail +2|head -1
Zm9v

-- 
Pew, Curtis G
[email protected]
ITS Systems/Core/Administrative Services

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to