NAME

publish - aline publishing utility

SYNOPSIS

publish [options] [file ...]

Options:

  -help            brief help message
  -man             full documentation

  -command=s@		a list of commands
  -file			textfile with filenames
  -glob			glob expression
  -dir				define other than current dir (for globbing)

OPTIONS

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-command

a list of shell commands

-file

on every line in this file

-glob

on every item from this glob

-dir

define other than current dir (for globbing only)

DESCRIPTION

This program will read the given input file(s) and do something useful with the contents thereof.

Example

- 'ls -la' on all perlscript files in the perlbin directory

do -g *.pod -d perlbin

- print all pod documentation (in the perlbin directory)

do -c perldoc -g *.pod -d perlbin

- cat all perlscript

do -c cat -g *.pl

- gunzip all .gz files

do -c gunzip -g *.gz

- untar all tarfiles and then remove the archives

	do -c "tar xvf" -c "rm" -g *.tar

  ! warning: vice versa in the commands order would be fatal !