[Info-vax] Long uptime cut short by Hurricane Sandy
    VAXman- at SendSpamHere.ORG 
    VAXman- at SendSpamHere.ORG
       
    Thu Jan 31 12:38:45 EST 2013
    
    
  
In article <kee7oh$m45$1 at dont-email.me>, Stephen Hoffman <seaohveh at hoffmanlabs.invalid> writes:
>On 2013-01-31 16:32:44 +0000,   VAXman-  @SendSpamHere.ORG said:
>
>> Or, skip the myriad excursions through LIB$CVT_TIME and LIB$CVT_DTIME, and
>> let DCL do one of the things it does best...
>> 
>> $ filename = filenameprefix+"_"+F$cvtime(,"COMPARISON")-"-"-"-"-" 
>> "-":"-":"-"."+".dmp"
>
>Yes.  That's definitely better than what I'd posted[1].
>
>But you're not going to convince me that DCL is superior to bash here; 
>that printf-style notation is just plain handy.
I never said that.  I was trying to get the focus on the scripting lingo's
features and not all of the utilities it can invoke.
>[1] Pedantic: what you've posted does not produce exactly same output.  
>It's very close, but not the same.
$ filename = filenameprefix+"_"+F$fao("!19AS",F$cvtime(,"COMPARISON"))-"-"-"-"-" "-":"-":"+".dmp"
-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG
Well I speak to machines with the voice of humanity.
    
    
More information about the Info-vax
mailing list