03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The PIP Command <strong>CP</strong>/M 3 User's Guide<br />

A > PIP LST: =B: LONGPAGE.TXT[FP65]<br />

This command writes the file LONGPAGE.TXT from drive B to the<br />

printer device. As the file is written, form-feed characters are removed<br />

and reinserted at the beginning and every 65th line thereafter.<br />

B > PIP LST: = PROGRAM.BAS[NTBU]<br />

This command writes the file PROGRAM.BAS from drive B to the<br />

printer device. The N parameter tells PIP to number each line. The T8<br />

parameter expands tabs to every eighth column. The U parameter<br />

translates lower-case letters to upper-case as the file is printed.<br />

A > PIP PORTION.TXT=LETTER.TXT[SDear Sr^Z QSincerely^Z]<br />

This command abstracts a portion of the LET-FER.TXT file from drive<br />

A by searching for the character sequence "Dear Sir" before starting<br />

the copy operation. When found, the characters are copied to<br />

PORTION.TXT on drive A until the sequence "Sincerely" is found in<br />

the source file.<br />

B > PI P B:=A:*.COM[VMR]<br />

This command copies all files with filetype COM from drive A to drive<br />

B. The V parameter tells PIP to read the destination files to ensure that<br />

data was correctly transferred. The W parameter lets PIP overwrite any<br />

destination files that are marked as RO (Read-Only). The R parameter<br />

tells PIP to read files from drive A that are marked with the SYS (System)<br />

attribute.<br />

5-76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!