SPX10DELAY(1) SPX10DELAY(1) NAME spx10delay - read from a file, write to a file SYNOPSIS spx10delay [-i infilename] [-o outfilename] [-v] DESCRIPTION Spx10delay is for providing interoperability between the input file of the spx10S0 program and externally applied commands to be executed after a time delay-the spx10S0 program writes internally generated com- mands to its input file, which would create concurrency issues with externally generated commands; the spx10delay, spx10lock and spx10S0 programs use fcntl(2) advisory locking of the spx10S0 input file for interoperability between internally generated commands within the spx10S0 program, and externally generated commands by the spx10lock and spx10delay programs. Only text transactions are permitted, (the program uses the EOT = ^D = end of transmission/transaction character for EOF and transaction con- currency control across the link, which is not compatible with binary data, as in telnet(1).) An EOT = ^D = end of transmission/transaction character character is appended to each record in the output file. An appropriate example usage would be: mknod infile p spx10S0 -f spx10S0db -i infile -q queryfile spx10delay -o infile -i commands The spx10delay program writes externally supplied, (via stdin,) x10 commands to the named pipe, infile, and the spx10S0 program reads the commands from the pipe. The structure of the commands is one command per EOL terminated record, which starts with the delay before the command is to be executed in seconds, exactly one tab character, and the command to be executed. OPTIONS -i infilename Input filename, (stdin). -o outfilename Output filename, (stdout). -v Print the version and copyright banner of the program. SEE ALSO spx10S0(1), spx10S1(1), spx10lock(1), spx10delay(1). DIAGNOSTICS Error messages for incompatible arguments, inaccessible files, and opening and closing files. AUTHORS ---------------------------------------------------------------------- A license is hereby granted to reproduce this software source code and to create executable versions from this source code for personal, non-commercial use. The copyright notice included with the software must be maintained in all copies produced. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. Copyright (c) 1994-2007, John Conover, All Rights Reserved. Comments and/or bug reports should be addressed to: john@email.johncon.com (John Conover) ---------------------------------------------------------------------- December 18, 2007 SPX10DELAY(1)