blob: fc1dac0308ae06b56cb2a2f1e192de5a18d59545 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff -ur locate-test~ locate-test
--- locate-test Tue Sep 23 21:45:57 2003
+++ locate-test Tue Nov 11 07:30:35 2003
@@ -60,19 +60,19 @@
shift;
;;
"--fmake")
- find functional/ -type f -maxdepth 2 -mindepth 2 -name "Makefile" -printf "%h\n"
+ find functional/ -type f -maxdepth 2 -mindepth 2 -name "Makefile" | sed 's#/Makefile##g'
exit 0;
;;
"--frun")
- find functional/ -type f -maxdepth 2 -mindepth 2 -name "run.sh" -printf "%h\n"
+ find functional/ -type f -maxdepth 2 -mindepth 2 -name "run.sh" | sed 's#/run.sh##g'
exit 0;
;;
"--smake")
- find stress/ -type f -maxdepth 2 -mindepth 2 -name "Makefile" -printf "%h\n"
+ find stress/ -type f -maxdepth 2 -mindepth 2 -name "Makefile" | sed 's#/Makefile##g'
exit 0;
;;
"--srun")
- find stress/ -type f -maxdepth 2 -mindepth 2 -name "run.sh" -printf "%h\n"
+ find stress/ -type f -maxdepth 2 -mindepth 2 -name "run.sh" | sed 's#/run.sh##g'
exit 0;
;;
"--help")
|