bluh
This commit is contained in:
parent
0838af3d18
commit
48763d2fed
3 changed files with 14 additions and 13 deletions
|
@ -8,9 +8,9 @@ if -nt { test $# -eq 0 }
|
|||
|
||||
define FOUND 69
|
||||
foreground {
|
||||
# look for each file (in cwd)
|
||||
# look for each pattern (in cwd)
|
||||
forx -E -x$FOUND pat { $@ }
|
||||
# if file exists, exit with $FOUND, which breaks the loop
|
||||
# if a file exists, exit with $FOUND, which breaks the loop
|
||||
elglob -0 files $pat
|
||||
forx -E -x$FOUND file { $files }
|
||||
ifthenelse { test -n $dironly } { pwd } { readlink -f $file }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue