[ < < < Home ] [ < < Reference Start ] [ < Reference Contents ]
[ < Previous=HEAD 3.11 ] [ Next=Examples > ]

Intelligence Services

HEAD 3.11 Options

HEAD has option Menu sections for:

	File, View, HEAD, Misc and Help.

The File, View, Misc and Help menu sections gives standard
options like those used by other Text Tools in PentaTextTools.

These options are detailed in COMMON Options.

The HEAD Menu gives options that govern display of empty lines,
the maximum number of lines to display and the region of the
file from which to begin displaying text lines.

All Options are detailed in this section but some explanations
refer You to COMMON Options.

For BEGINNERS the options most useful are:
	-l<d>	  Last line to be output. (10)
	-d	  Discount empty lines.

as detailed below.

See Common Options.

OPTION:

-$	  show contact information.


See Common Options.

OPTION:

-?	  show program information.


See Common Options.

OPTION:

-C<d>	  pre-filter input data by Command <d> with sub [F].


See Common Options.

OPTION:

-C:f<d>	  string for File insert for -C options. ([F])


See Common Options.

OPTION:

-C:i	  when option -C<d> Ignore ERROR LEVEL.


See Common Options.

OPTION:

-C:n	  when option -C<d> No filter.


See Common Options.

OPTION:

-N	  No process of data.


See Common Options.

OPTION:

-O	  turn Off all options.


See Common Options.

OPTION:

-R<d>	  Register this program with supplied key <d> and .KEY file.


See Common Options.

OPTION:

-X<d>	  eXclude files list.++


See Common Options.

OPTION:

-a	  show All of Many options by Menu.


See Common Options.


OPTION:

-d	  Discount empty lines.


Only lines with data are displayed.  The total possible number
of lines (-l<d>) only includes lines with data.


	head head.txt -d head.txt


...without options then "-d" shows only non-empty lines in file
head.txt.


	head -d -n head.txt


..."-d" with "-n" shows only non-empty lines and their line
numbers.

OPTION:

-f	  show File name at front of each line.


See Common Options.

OPTION:

-h	  select Hidden files too.


See Common Options.

OPTION:

-jA       options with Attached list data (++) can Accumulate.


See Common Options

OPTION:

-jF<d>	  take options and specs from File name <d>.


See Common Options.

OPTION:

-jH<d>	  program Home executable directory substitute string. (:HOME:)


See Common Options.

OPTION:

-jT<d>	  Text characters range is <d>. ([\9\10\13\32-\126])


See Common Options.

OPTION:

-ja	  just examine All-ASCII files.


See Common Options.

OPTION:

-je	  expand Environment %VARIABLES% in program parameters.


See Common Options.

OPTION:

-jf	  Filter output to Text characters.


Display any non-text character sequence as high lighted '@'.

See Common Options.

OPTION:

-jn	  wait for Network access.


See Common Options.

OPTION:

-jp	  do data Prompt.


See Common Options.

OPTION:

-jq<d>    command quote sequence. (")


See Common Options.

OPTION:

-jt	  just examine all Text files.


See Common Options.

OPTION:

-l<d>	  maximum Lines to be output. (10)


The number of lines to be output.

Less lines will be shown if there are fewer than <d> lines at
the Head, Middle or Tail of file.

Discount empty lines (-d) will only allow non-empty lines to be
part of this.

Default is 10.


	head -l3 -n head.txt


..."-l3" shows just 3 lines at start of file head.txt.


	head -d -l3 -n head.txt


..."-d -l3" shows just 3 non-empty lines in same.


	head -m5 -l3 -n head.txt


..."-m5 -l3" shows just 3 lines starting at line 5.


	head -t -l3 head.txt


..."-t -l3" shows just 3 lines at Tail.

OPTION:

-m<d>	  do Middle starting with line number <d>.


Start with line <d> and output up to the maximum number of lines
(-l<d>).


	head -m7 -n head.txt


..."-m7" shows just lines starting at line 7.


OPTION:

-n	  show line Number.


HEAD is line oriented so an option is provided for showing the
line number for each line output.

This option is similar to other Text Tools use of option "-n".

The first line is line 1.

There is no maximum.


	head -n head.txt -n- head.txt


..."-n" shows with and without line numbers.

OPTION:

-o	  Omit single file name at start of output.


See Common Options.

OPTION:

-r	  Recursive search for file(s), dir\files(s) or dir\.


See Common Options.

OPTION:

-t	  do Tail.


Only display up to the maximum number of lines (specified by
-l<d> or default of 10) at the TAIL end of data.


	head -t head.txt


..."-t" shows just end lines.


	head -t -n -d -l3 head.txt


..."-t -n -d -l3" shows just 3 non-empty lines at Tail.

OPTION:

-tC	  open all files as Compatible for sharing.


See Common Options.

OPTION:

-tT<d>    Temporary files directory. (%TEMP%)


See Common Options.

OPTION:

-tF<d>	  default directories for option -jF<d> command File(s).++ (.;:HOME:)


See Common Options.

OPTION:

-tI	  show all options by Input/Output.


See Common Options.

OPTION:

-tK	  allow Key buffer for typeahead.


See Common Options.

OPTION:

-tL	  use <Long file names> in output.


See Common Options.

OPTION:

-tS	  show all options by Sequence.


See Common Options.

OPTION:

-tV<d>	  display message <d> on Video screen.


See Common Options.

OPTION:

-tb	  disable VGA Blink.


See Common Options.

OPTION:

-tc<d>	  column to wrap data display.


See Common Options.

OPTION:

-td	  show screen space or tab as Dot or diamond.


See Common Options.

OPTION:

-te	  Eliminate screen status line.


See Common Options.

OPTION:

-tf	  try old standard DOS 8.3 File names first.


See Common Options.

OPTION:

-ti	  use Input by pipe | or redirect < for Keys Input.


See Common Options.

OPTION:

-tk	  press Key to continue.


See Common Options.

OPTIONS:
-ta<d>	  save All output to file <d>.
-to<d>	  save Output to file <d>.
-tw<d>	  save Warnings and error messages to file <d>.
-tA	  append All output if option -to<d>.
-tO	  append Output if option -to<d>.
-tW	  append Warnings and error messages if option -tw<d>.

See Common Options.

[ < < < Home ] [ < < Reference Start ] [ < Reference Contents ]
[ < Previous=HEAD 3.11 ] [ Next=Examples > ]

Intelligence Services

© Intelligence Services 1987 - 2008   GPO Box 9,   ADELAIDE SA 5001,   AUSTRALIA
EMAIL   :   intlsvs@gmail.com