RUN-PARTS(8) | System Manager's Manual | RUN-PARTS(8) |
run-parts - zažene skripte ali programe v mapi
run-parts [--test] [--verbose] [--debug] [--report] [--lsbsysinit] [--regex=RE] [--umask=umask] [--arg=argument] [--exit-on-error] [--help] [--version] [--list] [--reverse] [--] DIRECTORY [DIRECTORY ...]
run-parts -V
run-parts zažene vse najdene izvedljive datoteke v mapi directory poimenovane s spodaj opisanimi omejitvami. Druge datoteke in mape so tiho prezrte.
Če nista podani možnost --lsbsysinit ali pa možnost --regex, morajo biti imena sestavljena samo iz ASCII velikih in majhnih črk, številk, podčrtajev in vezajev.
If the --lsbsysinit option is given, then the names must not end in .dpkg-old or .dpkg-dist or .dpkg-new or .dpkg-tmp, and must belong to one or more of the following namespaces: the LANANA-assigned namespace (^[a-z0-9]+$); the LSB hierarchical and reserved namespaces (^_?([a-z0-9_.]+-)+[a-z0-9]+$); and the Debian cron script namespace (^[a-zA-Z0-9_-]+$).
Če je podana možnost --regex, morajo imena ustrezati po meri narejenemu razširjenemu logičnemu izrazu določenemu kot argument te možnosti.
Files are run sequentially in the lexical sort order (according to the C/POSIX locale character collation rules) of their names unless the --reverse option is given, in which case they are run in the opposite order.
If more than more DIRECTORY is specified, then files with the same name in earlier directories will take precedence over files in directories specified in later arguments. This allows run-parts to receive directories with scripts in both /usr and /etc but let files in /etc override scripts in /usr if they are named the same. The directory under /etc would need to be specified before the path under /usr for this to happen.
Prikaže imena vseh datotek v /etc, ki se začnejo s `p' in končajo z `d':
run-parts --list --regex '^p.*d$' /etc
Avtorske pravice (C) 1994 Ian Jackson.
Avtorske pravice (C) 1996 Jeff Noxon.
Avtorske pravice (C) 1996, 1997, 1998 Guy Maor
Avtorske pravice (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Clint Adams
run-parts je prosti program; oglejte si GNU General Public License različica 2 ali kasnejša za pogoje kopiranja. Garancije ni.
This document is a translation.
Regarding errors such as tihs one, contact <sl@li.org>,
27. jun 2012 | Debian |