GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XIN(1) User Manual XIN(1)

xin - split standard input and pipe into a command

xin [ -h | -v ]
xin [ -b size | -l lines | -p size | -f code ] -e command [ arguments... ]

xin reads from standard input and splits the data up into sections, piping each section to a separate command. If both -b and -l are used xin will split the section as soon as either limit is reached. A command will only be executed when there is data waiting to be written.

If command exits or closes the pipe before the entire section is written an error will occur and xin will exit. There is no way of recovering from this situation without losing data since xin cannot know if the data has been read and processed - this is a limitation of pipes.

A size may have a multiplier suffix: 'b' for 512, 'k' for 1024, and 'm' for 1024k.

Limit each section to size bytes.

Limit each section to lines lines.

Zero extend any section of input written to command to a multiple of size bytes. This option can be used by itself for padding a data stream without splitting. The default is no padding.

When command exits with error code xin will exit with a fatal error. The default is 255.

Use to denote the end of xin arguments and the beginning of command.

Display version and exit.

Display usage information and exit.

Mark Pulford <mark@kyne.com.au>

split(1).

http://www.kyne.com.au/~mark/software.html

April 18, 2001 v1.0.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.