Aha, I found it.  I was trying to get the current timestamp and the basename of 
the called script

  [-date?'$( date "+%a, %d %b %Y, %T %Z" )' -- now]
  [+NAME?'$( basename $0 )' --- test command line arguments]


If I remove the date and replace with

  [+NAME?test --- test command line arguments]

The bolding (\b) and italicizing (\a) works.  Since the whole output is in 
fixed length font, it's hard to tell if the (\v) is working.
I tried the (\f), eg. \f date "+%a, %d %b %Y, %T %Z" \f, but nothing came out.


One thing I was thinking about was showing in the IMPLEMENTATION the last 
modify timestamp of the script (not all of this, just the mtime):

>stat -x test.ksh
  File: "test.ksh"
  Size: 4338         FileType: Regular File
  Mode: (0755/-rwxr-xr-x)         Uid: (  501/  ericdp)  Gid: (   20/   staff)
Device: 14,5   Inode: 337712    Links: 1
Access: Mon Feb  8 09:00:18 2010
Modify: Mon Feb  8 08:58:29 2010
Change: Mon Feb  8 08:58:29 2010

But I guess I wont be able to.




Thanks for all your help.  I appreciate it.
Eric


_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to