mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-30 07:31:17 +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
+13
-1
@@ -289,5 +289,17 @@ Universal Time is now: $UTdate."
|
|||||||
do :
|
do :
|
||||||
done
|
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"
|
echo "$TZ"
|
||||||
|
|||||||
Reference in New Issue
Block a user