clfs-1.2
        clfs-2.1
        clfs-3.0.0-systemd
        clfs-3.0.0-sysvinit
        systemd
        sysvinit
      
      
        
          | Last change
 on this file since 82efb34 was             3f8be484, checked in by Jim Gifford <clfs@…>, 20 years ago | 
        
          | 
r627@server (orig r625):  jim | 2005-10-31 12:59:34 -0800Import of Cross-LFS Book
 
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            386 bytes | 
      
      
| Line |  | 
|---|
| 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.