#!/bin/sh set -eu head -n "$1" | tail -n 1