#!/bin/bash # shell wrapper for sed editor script to reverse lines sed -n '{ 1!G h $p }' $1