tests: init.sh: use "sed 1q" in place of "head -1"
commit1d919fbb7fc5e75e3bf2835f9e2fccbe179b7d69
authorJim Meyering <meyering@redhat.com>
Mon, 20 Jun 2011 08:01:43 +0000 (20 10:01 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 20 Jun 2011 08:01:43 +0000 (20 10:01 +0200)
treee0ab7c8bdf7b49f5e78ec41f3f9c46205e883cf2
parentea7c77df7faa8474074a767e7f9a3bef35dfdfbe
tests: init.sh: use "sed 1q" in place of "head -1"

* tests/init.sh (warn_): Use "sed 1q" in place of "head -1".
The latter is officially obsolete but more portable than "head -n1".
Reported by Bernhard Voelker.
tests/init.sh