Site Tools


set_lastlog_rewrite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

set_lastlog_rewrite [2008/04/11 23:12] (current)
Line 1: Line 1:
 +# $EPIC: set_lastlog_rewrite.txt,​v 1.1 2008/04/11 23:12:17 jnelson Exp $
 +======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 /​[[LASTLOG]] command to timestamp each line:
 + /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 (external edit)