2 # Filename: random-hostname
3 # Purpose: print random hostname to stdout
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 # Latest change: Sam Sep 30 11:42:30 CEST 2006 [mika]
8 ################################################################################
12 randline=$(($(date +%Y%M%S) * $$ % $num))
13 hostname=$(tail -n $randline "$0" | head -1 | grep -v "'" | grep -v '^#' | grep -v '^$')
14 [ -n "$hostname" ] && echo "$hostname" || echo "grml"
15 # EOF - line 15; now the hostnames:
305 rotate-the-shield-harmonics
334 sophistimacated-doowhackey
338 speedholes-or-speed-holes
346 supercalifragilistics