showut: Display the Universal Time
Last updated: Apr 02,2020

Here is the (early) code I to display Universal Time (UT).

% pwd
/home/sco/Installs/install_sco2019_20200305/codes/bash

% date
Wed Apr  1 15:52:56 CDT 2020

% cat showut 

#!/bin/bash

# Check command line arguments 
if [ -z "$1" ]
then
 printf "Usage: showut 10000 5 \n"
 printf "arg1 - number of time steps to display (1000) \n"
 printf "arg2 - sleep time in seconds between steps (5) \n"
 exit
fi

numrun="$1"
ts="$2"

for i in `seq 1 10000`;
do
 date -u > junk.1 
 read day mon iday ut com year  



Back to calling page