3 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi gurus, I am trying to match records in following format:
(-,username,domain1.co.uk)\
(-,username,domain2.co.uk)
either awk or perl must be used. I am using cygwin. I wrote following code which works and matches both above entries:
awk 'BEGIN {musr="(-,username,+.co.uk)"} {if... (8 Replies)
Discussion started by: wakatana
8 Replies
2. UNIX for Advanced & Expert Users
We have a mix of AIX, HP-UX, Linux (RHEL and SLES), and Solaris in our environment. Currently we have seperate patch management systems for each platform (NIM, SD, Spacewalk, etc), but have started looking for a centralized patch management solution that would work for most, if not all, of our... (0 Replies)
Discussion started by: kknigga
0 Replies
3. Programming
I know that <cstudio> can also be <stdio> and can be written different ways on Linux then with windows.
I've see some code doing a IFDEF __APPLE__ (I'm guessing, if compiled on a mac do whats between this) Is there one for Linux/Window? (3 Replies)
Discussion started by: james2432
3 Replies
fileutil::multi(n) file utilities fileutil::multi(n)
__________________________________________________________________________________________________________________________________________________
NAME
fileutil::multi - Multi-file operation, scatter/gather, standard object
SYNOPSIS
package require Tcl 8.4
package require fileutil::multi ?0.1?
package require fileutil::multi::op ?0.1?
package require wip ?1.0?
::fileutil::multi ?word...?
_________________________________________________________________
DESCRIPTION
This package provides a single command to perform actions on multiple files selected by glob patterns. It is a thin layer over the package
fileutil::multi::op which provides objects for the same. This package simply creates a single such object and directs all file commands to
it.
At the core is a domain specific language allowing the easy specification of multi-file copy and/or move and/or deletion operations. Alter-
nate names would be scatter/gather processor, or maybe even assembler. For the detailed specification of this language, and examples,
please see the documention for the package fileutil::multi::op.
PUBLIC API
The main command of the package is:
::fileutil::multi ?word...?
This command interprets the specified words as file commands to execute. See the section FILE API of the documentation for the pack-
age fileutil::multi::op for the set of acceptable commands, their syntax, and semantics.
The result of the command is the result generated by the last file command it executed.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category fileutil
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
copy, file utilities, move, multi-file, remove
CATEGORY
Programming tools
fileutil 0.1 fileutil::multi(n)