ECAT

Section: User Contributed Perl Documentation (1)
Updated: 2013-08-15
Index Return to Main Contents

NAME

ecat - copies file between a domain and STDIN/STDOUT

SYNOPSIS

ecat -s size [-e][-n][-o][-b] - domain:filename

ecat domain:filename -

DESCRIPTION

Similar, but not identical, to UNIX/Linux "cat" command. The main difference is to make ecat symmetrical with regards to specifying the input and output.

Exactly two pathnames must be specified, one of which must be '-', representing standard-input (STDIN) for the first pathname and standard-output (STDOUT) for the second pathname.

Note on resilience. Whereas ECFS generally tries its best to recover from errors, via retries, such recovery is often not possible with ecat, particularly when copying from standard input.

OPTIONS

*
In the first instance, with the source being STDIN, most options are the same as those in ecp. There is no '-t'/'-u' option, as there is no timestamp on the source.
*
The first instance requires an estimated size, in bytes, for the file. If this is not accurately known, then it should be a reasonable estimate. A slight overestimate is preferable to any underestimate.
*
In the second instance, with the destination being STDOUT, there are no useful options.

EXAMPLES

SEE ALSO

ecfs(1), ecp(1)


Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:51:57 GMT, July 23, 2018