Last change
on this file since fd77958 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago |
r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book
|
-
Property mode
set to
100644
|
File size:
386 bytes
|
Rev | Line | |
---|
[bf8c11f] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | # This script will find all XML files in the working repository copy
|
---|
| 4 | # that contains the same string in their name.
|
---|
| 5 |
|
---|
| 6 | # To be executed from the top-level directory.
|
---|
| 7 |
|
---|
| 8 | # Useful to find the files related with a same package in all
|
---|
| 9 | # directories and architectures.
|
---|
| 10 |
|
---|
| 11 | NAME=`basename $0`
|
---|
| 12 |
|
---|
| 13 | if [ -z "$1" ]; then
|
---|
| 14 | echo "USAGE: $NAME string"
|
---|
| 15 | exit
|
---|
| 16 | fi
|
---|
| 17 |
|
---|
| 18 | find . -name "*$1*.xml" | sort
|
---|
Note:
See
TracBrowser
for help on using the repository browser.