From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/utilities/doc/entab.hlp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkg/utilities/doc/entab.hlp (limited to 'pkg/utilities/doc/entab.hlp') diff --git a/pkg/utilities/doc/entab.hlp b/pkg/utilities/doc/entab.hlp new file mode 100644 index 00000000..224f9a82 --- /dev/null +++ b/pkg/utilities/doc/entab.hlp @@ -0,0 +1,30 @@ +.help entab Mar84 utilities +.ih +NAME +entab -- replaces blanks by tabs and blanks +.ih +USAGE +entab files +.ih +PARAMETERS +.ls files +Template specifying the files to be processed, e.g. "file" or "file*". +.le +.ls tablist = "9 +8" +String containing a list of tabstops separated by blanks or commas. +A two element string of the form "m +n" will set +tabstops in every n columns beginning in column m. +A null string defaults to "9 +8". +.le +.ih +EXAMPLE +Convert the file "prog.c", written using full tabstop indents, to +an equivalent file with an initial indent of one full tabstop, +with 4 space indents thereafter. + +.nf + cl> detab prog.c tab='9 +4' | entab > temp + cl> delete prog.c + cl> rename temp prog.c +.fi +.endhelp -- cgit