オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Contents of /trunk/1.7.x/ccs-tools/ccstools/man/ccs-pathmatch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2976 - (show annotations) (download)
Tue Sep 1 06:24:08 2009 UTC (14 years, 9 months ago) by kumaneko
File size: 900 byte(s)


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

Properties

Name Value
svn:executable *

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26