Ticket #58 (closed todo: fixed)

Opened 13 years ago

Last modified 13 years ago

improve management of intermediate file in heredoc preprocessor

Reported by: kjs Owned by: kjs
Priority: minor Milestone:
Component: pirc Version:
Severity: low Keywords: PIRC, heredoc
Cc: Language:
Patch status: Platform:

Description

PIRC's heredoc preprocessor writes its intermediate output to a file, called 'heredoc.out'. Two things should be done to improve this: 1. use a better name for the intermediate output, based on the name of the file being parsed. 2. delete the intermediate file by default, and add an option to keep it ('don't delete intermediate files')

This should be implemented.

Change History

Changed 13 years ago by kjs

  • status changed from new to closed
  • resolution set to fixed

when heredoc-only is requested, output goes to stdout, unless -o option is specified, in which case the output is written to the specified file.

when preprocess-only is requested, output goes to stdout, unless -o option is specified, in which case the output is written to the specified file.

in normal use, heredoc output is written to a temp. file (generated using _tempnam function).

kjs

Note: See TracTickets for help on using tickets.