#!/bin/sh dmesg dmesg dmesg echo "stdout 1" echo "stderr 1" 1>&2 echo "stdout 2" echo "stderr 2" 1>&2 echo "stdout 3" echo "stderr 3" 1>&2 sleep 0.1 echo "stdout 4" echo "stderr 4" 1>&2 echo "stdout 5" echo "stderr 5" 1>&2