in reply to Input/Output editing

What I'm trying to do now is change the code in a way that the user will only have to type (cshell): CodeName SourceFile TargetFile AlternativeString .
You should take a look at GetOpt::Long.
If no AlternativeString is defined it will still look for QUALIFIED. I also want to make Information note as for what lines were deleted, and a warning for unspecified SourceFile and/or TargetFile
How would you test a variable for a valid value (or that a line was deleted)?

Replies are listed 'Best First'.
Re^2: Input/Output editing
by guyov1 (Novice) on Oct 22, 2008 at 11:03 UTC
    I would test a variable just as if the file source and destination truly exists. And a line - if the "next line" in the while loop occurs.