1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/UPTIME alias was _still_ broken.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1769 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-08-24 13:34:35 +00:00 committed by cras
parent 2dae72a698
commit bb5d7724b7

View File

@ -63,6 +63,6 @@ aliases = {
GOTO = "sb goto"; GOTO = "sb goto";
CHAT = "dcc chat"; CHAT = "dcc chat";
RUN = "SCRIPT LOAD"; RUN = "SCRIPT LOAD";
UPTIME = "eval exec - expr ate +%s - $F | awk \"{print \\\"Uptime: \\\"int(\\$1/3600/24)\\\"d \\\"int(\\$1/3600%24)\\\"h \\\"int(\\$1/60%60)\\\"m \\\"int(\\$1%60)\\\"s\\\" }\""; UPTIME = "eval exec - expr `date +%s` - $F | awk \"{print \\\"Irssi uptime: \\\"int(\\$1/3600/24)\\\"d \\\"int(\\$1/3600%24)\\\"h \\\"int(\\$1/60%60)\\\"m \\\"int(\\$1%60)\\\"s\\\" }\"";
CALC = "exec - echo $* | bc | awk '{print \"$*=\"\\$1}'"; CALC = "exec - echo $* | bc | awk '{print \"$*=\"\\$1}'";
}; };