Subversion リポジトリの参照
Contents of /trunk/1.7.x/ccs-tools/ccstools/man/ccs-pathmatch
Parent Directory
| Revision Log
1 |
#! /bin/sh |
2 |
|
3 |
if [ "$1" = "--version" ] |
4 |
then |
5 |
cat << EOF |
6 |
ccs-pathmatch 1.7.0 |
7 |
|
8 |
Copyright (C) 2005-2009 NTT DATA CORPORATION. |
9 |
|
10 |
This program is free software; you may redistribute it under the terms of |
11 |
the GNU General Public License. This program has absolutely no warranty. |
12 |
EOF |
13 |
elif [ "$1" = "--help" ] |
14 |
then |
15 |
cat << EOF |
16 |
Usage: ccs-pathmatch list_of_pathname_patterns |
17 |
|
18 |
This program scans the filesystem for given pathname patterns. |
19 |
|
20 |
You can use this program to determine how deep patterns are needed for defining 'file_pattern' or 'path_group'. |
21 |
|
22 |
Examples: |
23 |
|
24 |
# ccs-pathmatch '/etc/\*' '/tmp/\*' |
25 |
Search for pathnames matching '/etc/\*' or '/tmp/\*' pattern. |
26 |
|
27 |
EOF |
28 |
else |
29 |
cat << EOF | help2man -i - -N -s 8 -n "Do TOMOYO Linux's pathname pattern matching on the filesystem" $0 | gzip -9 > man8/ccs-pathmatch.8.gz |
30 |
[SEE ALSO] |
31 |
|
32 |
ccs-patternize (8) |
33 |
|
34 |
[AUTHORS] |
35 |
|
36 |
penguin-kernel _at_ I-love.SAKURA.ne.jp |
37 |
|
38 |
EOF |
39 |
fi |
40 |
exit 0 |
|