Skip to main content

About Carve a New File Dialog

This dialog provides a way of carving out text from a file and saving it to a new file. The original file remains unchanged.

The text box following the COMMAND label is used to enter the carve commands.

After a carve command, the carved text is shown on the screen. Commands can be repeated until you get a desired result. The text is always carved out using the newly derived screen.

Available commands:

   'carvepos' carve text using position(s)

   'carvecol' carve text using column(s)

   'delete' delete lines conditionally

   'reset' reset screen to its original unmodified state state

   'capson' convert all characters to upper case

   'capsoff' convert all characters to lower case

Reset command format:

   reset

Capson command format:

   capson

Capsoff command format:

   capsoff

Carvepos command format:

   carvepos lowcol,endcol

   where:

      lowcol = The low (start) position in the record

      endcol = The end position (last) in the record

Multiple carvepos start-end pairs can be provided. Carvepos pairs are separated with one or more spaces or with a semicolon (;) or enclosed in parenthesis.

For example, the following are all valid carvepos pairs:

      carvepos 1,10 20,22

      carvepos 1,10;20,22

      carvepos (1,10) 29,35

      carvepos (1,10);29,35

Carvecol command format:

   carvecol nn

   where:

      nn = The column number

Multiple carvecol column can be provided. Column numbers are separated with one or more spaces or with a semicolon (;) or enclosed in parenthesis.

For example, the following are all valid carvecol commands:

      carvecol 1 2 4 5

      carvecol 1;2;3;5;6

      carvecol (1)(2)(3)

      carvecol (1);(2) 3

Delete command format:

   delete nn,='text'

      or

   delete nn,!='text'

   where:

      nn = The column number

For example, the following are valid delete commands:

      delete 1.='55'

      delete 5.!='ab'

*End of help document*