*cabe and non-*cabe editor reconciliation
Fairlight
fairlite at fairlite.com
Wed Jul 14 07:50:37 PDT 2004
You'll never BELIEVE what Walter Vaughan said here...:
> Mike Schwartz-PC Support & Services wrote:
> > [Mark said:]
> > Thanks, Mark! I will give it a try next time I'm at one of my Unix
> > customer sites!
>
> What? Why wait? It seem to works just fine on Windows...
*smile* I'm not sure why people demure at installing perl on 'doze.
> ... The only "feature" that I see needs fixin' for 1.01 is that
> if the prc table does not exist, it should not echo out a
> "all segments...compatible", which while true, seems wrong.
>
> C:\fpodbc\fp>\perl\bin\perl cabcon.pl \fpobdc\filepro\fpprod\input.prc
> Can't open \fpobdc\filepro\fpprod\input.prc: No such file or directory
> at cabcon
> .pl line 26.
> All segment lengths are *cabe compatible.
I take your point. Basically, I used the perl "<>" operator, which takes
input from STDIN or tries to open any file(s) specified as arguments. I
never installed testing for file existance. I wasn't exactly in Commercial
Mode when I did it. Easy to add though. I should also then verify that
only one argument is fed to it, maximum, and validate it if it is. If you
fed more than one, it would try to open both and line numbers when it hits
the second are meaningless.
I can fix that up. Must run for now though. Need to replace a cell phone,
then go to bed after being up all night during a power outage...ended up
coding instead of sleeping.
mark->
--
Bring the web-enabling power of OneGate to -your- filePro applications today!
Try the live filePro-based, OneGate-enabled demo at the following URL:
http://www2.onnik.com/~fairlite/flfssindex.html
More information about the Filepro-list
mailing list