set_lastlog_rewrite
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | set_lastlog_rewrite [2008/04/11 23:12] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: set_lastlog_rewrite.txt, | ||
+ | ======Synopsis: | ||
+ | [[set]] lastlog_rewrite | ||
+ | |||
+ | ======Description: | ||
+ | This /[[SET]] provides a default value to [[LASTLOG]] -REWRITE whenever you | ||
+ | use [[LASTLOG]] but don't provide the -REWRITE flag. | ||
+ | |||
+ | If you always want the / | ||
+ | /set lastlog_rewrite $strftime($1 %T) $8- | ||
+ | |||
+ | Note that the above might be subject to quoting hell, particularly in a | ||
+ | pf-loaded script, which means you would need to do: | ||
+ | /set lastlog_rewrite $$strftime($1 %T) $$8- | ||
+ | |||
+ | ======History: | ||
+ | [[SET]] lastlog_rewrite first appeared in EPIC5-0.3.6 | ||
+ | |||
set_lastlog_rewrite.txt · Last modified: 2008/04/11 23:12 by 127.0.0.1