Mike Schilli's Friendly Neighborhood Perl Shop

Home
USArundbrief.com
Resume
CPAN Modules
Articles in English
Articles in German
Mike's Script Archive
English-Japanese Translation Trainer
Adventures with O'Reilly's Safari
10 Easy Steps to Become a California Driver
Unofficial perlmonks.com IRC Channel
My Collection of Outage Pages
Prisma (Computer Club Deutschland)
Mike's Monologues
Mike's Script Archive: excat

excat - cat command with file locking


NAME

    excat - cat command with file locking


DOWNLOAD

excat


SYNOPSIS

    cat source | excat -l file.lock >>dest


OPTIONS

-l
Specify the name of the lock file. Defaults to '.lock'.


DESCRIPTION

excat acts like cat, but creates a lockfile and ensures exclusive access before opening the output stream.


EXAMPLES

  $ excat -l file.lock sourcefile >>destfile
  $ cat sourcefile | excat -l file.lock >>destfile


LEGALESE

Copyright 2004 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

2004, Mike Schilli <m@perlmeister.com>


Latest update: 20-Oct-2013