mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-23 19:16:11 +00:00
Eggert mods
SCCS-file: tzselect.ksh SCCS-SID: 1.6
This commit is contained in:
committed by
Paul Eggert
parent
9e6ce7b7fc
commit
dad12788f3
14
tzselect.ksh
14
tzselect.ksh
@ -289,5 +289,17 @@ Universal Time is now: $UTdate."
|
||||
do :
|
||||
done
|
||||
|
||||
# Output the answer.
|
||||
case $SHELL in
|
||||
*csh) file=.login line="setenv TZ '$TZ'";;
|
||||
*) file=.profile line="TZ='$TZ'; export TZ"
|
||||
esac
|
||||
|
||||
echo >&2 "
|
||||
You can make this change permanent for yourself by appending the line
|
||||
$line
|
||||
to the file '$file' in your home directory; then log out and log in again.
|
||||
|
||||
Here is that TZ value again, this time on standard output so that you
|
||||
can use the $0 command in shell scripts:"
|
||||
|
||||
echo "$TZ"
|
||||
|
||||
Reference in New Issue
Block a user