#!/bin/sh

# Performs the inverse operation of packpars (except that extra
# carriage returns are lost where the original file had paragraphs
# separated by more than two carriage returns).  Also, you end up with
# a carriage return at the end even if the original file didn't have
# one.

cat $* | tr -d '\012' | tr '_' '\012' | tail -n +2 | tr '\007' '_'
