To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14939
14938  |  14940
Subject: 
Re: PreL3P 1.3 -help :)
Newsgroups: 
lugnet.cad, lugnet.cad.dev
Date: 
Thu, 25 Oct 2007 09:46:55 GMT
Viewed: 
10639 times
  
In lugnet.cad, Don Heyse wrote:
In lugnet.cad, Jim DeVona wrote:
I've added the ability to process multiple files in one run

Just curious, how'd you end up implementing that?  If I recall,
unix shells will expand a *.ldr arg for you, but on Windows it's
left to the program to do it.

Ah, thanks for bringing that to my attention. I was not aware of the difference.

My addition currently understands multiple arguments with this syntax:

prel3p 1.ldr 2.ldr 3.ldr

Each ldr file is processed in place and the originals are copied to 1.ldr.bak,
2.ldr.bak, and 3.ldr.bak. I had indeed assumed the shell would take care of
wildcard expansion, as is the case with unix shells.

However, with some careful thought it will not be hard to internalize wildcard
support: http://www.tcl.tk/man/tcl8.4/TclCmd/glob.htm

Jim



Message has 1 Reply:
  PreL3P 1.4
 
PreL3P 1.4 can process multiple files. It understands wildcard characters, too, so you can easily process many files at once in environments that don't perform wildcard expansion automatically (ie, "prel3p *.ldr"). (URL) always, please report any (...) (17 years ago, 5-Nov-07, to lugnet.cad)

Message is in Reply To:
  Re: PreL3P 1.3 -help :)
 
(...) Just curious, how'd you end up implementing that? If I recall, unix shells will expand a *.ldr arg for you, but on Windows it's left to the program to do it. Don (17 years ago, 25-Oct-07, to lugnet.cad)

34 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR