Manual Reference Pages  - touchvi (1)


NAME

touchvi - restores the original datestamp on a file after editing it

CONTENTS

Author
Description
Documented Version
Exit Status
Options
Permissions
Rcs Information
Rcs.sh Version
Synopsis
Warning(s)

DOCUMENTED VERSION

1.3 - 2008/01/21 20:51:50

SYNOPSIS

touchvi [-e cmd [-d]] [-x]* [-X]*

DESCRIPTION

Q&D script to touch a temp file before editing the named file, then
touching the newly modified file referencing the temp file to reset the datestamp.

OPTIONS

-d diff the before and after files (-e only)
-e cmd instead of interactively editing a file, perform an edit operation on it, where cmd is:
delcr - delete carriage return characters
cr2nl - change carriage return characters to newline characters
-x does ’set -x’ (may be used in functions and external script calls) (see DIAGNOSTICS below)
-X sets debugging level--the number of times -X is specified" (see DIAGNOSTICS below)

RCS.SH VERSION

00010

RCS INFORMATION

$Id: touchvi,v 1.3 2008/01/21 20:51:50 earneson Exp $
$Author: earneson $
$Date: 2008/01/21 20:51:50 $
$Revision: 1.3 $
$Source: /Users/cvs/scripts/all/Users/earneson/bin/touchvi,v $
$State: Exp $

PERMISSIONS

rwxr-xr-x userUID staff

WARNING(S)

40 - The localize script could not be found. Global machine settings can not be set.

EXIT STATUS

51 - An unknown option was passed to the script, or syntax of the parameters is wrong.
51 - Unknown option >$errflag<
52 - Unknown edit command >$ecmd<
53 - The file >$1< is not writable and, hence, can not be edited.
54 - The generated file >$1.$tmpstr< is too small. A script error probably occurred and the original file will not be overwritten.
56 - The USAGE was requested using -z or -?.

AUTHOR

Edwin Arneson


\\$4  touchvi (1) EJA UTILITY
Generated by manServer 1.07 from touchvi.1 using man macros. With tweaks by Edwin Arneson.