Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 271337 Details for
Bug 364257
app-admin/eselect-postgresql-1.0.7: missing double quotes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
4 examples
example-find.txt (text/plain), 921 bytes, created by
Jimmy.Jazz
on 2011-04-27 13:17:47 UTC
(
hide
)
Description:
4 examples
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2011-04-27 13:17:47 UTC
Size:
921 bytes
patch
obsolete
>funA() { > local a=$1 > local b=$2 > local c="$3" > local l > > echo find "$a" -maxdepth 1 -mindepth 1 $b ${c:+-name "$c"} > l=$(command find "$a" -maxdepth 1 -mindepth 1 $b ${c:+-name "$c"}) > > echo $l >} > >funB() { > local a=$1 > local b=$2 > local c="$3" > local l > > echo find "$a" -maxdepth 1 -mindepth 1 $b $c > l=$(eval command find "$a" -maxdepth 1 -mindepth 1 $b $c) > > echo $l >} > >find() { > local a=$1 > local c="$2" > local l > > echo find "$a" -maxdepth 1 -mindepth 1 ${c:+-name} "$c" > l=$(command find "$a" -maxdepth 1 -mindepth 1 $b ${c:+-name "$c"}) > > echo $l >} > ># arg b is only to illustrate an "unused" argument ># command avoid loops and collision when the same name is involved for both a function and a command > >cd / >echo 'working funA()' >funA '/' '' 'lib*' > >echo 'working funB() with eval' >funB '/' '' "-name 'lib*'" > >echo 'working find() <-- my favorite' >find '/' 'lib*' > >echo 'working find() <-- my favorite' >find '/' ""
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 364257
:
270855
|
270857
|
270859
|
270861
| 271337