Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add the ability to spit multiple items out of an object to the argument pipeline #19

Closed
mcavage opened this issue Sep 14, 2011 · 1 comment
Assignees

Comments

@mcavage
Copy link

mcavage commented Sep 14, 2011

I want this to work:

bluesnoop:ufds mark$ ./tools/ufdssearch -u ldap://localhost:1389 -w secret --base "login=user_99, ou=customers, o=smartdc" -s base 
[
 {
   "dn": "login=user_99, ou=customers, o=smartdc",
   "address": [
     "Joyent, Inc.",
     "345 California Street, Suite 2000"
   ],
   "city": "San Francisco",
   "cn": "Test",
   "company": "markc",
   "country": "USA",
   "email": "user_99@joyent.com",
   "login": "user_99",
   "objectclass": "sdcPerson",
   "phone": "+1 415 400 0600",
   "postalcode": "94104",
   "sn": "User",
   "state": "CA",
   "uuid": "a249d2f2-5dd6-402f-8418-6a3209fa8568"
 }
]
bluesnoop:ufds mark$ ./tools/ufdssearch -u ldap://localhost:1389 -w secret --base "login=user_99, ou=customers, o=smartdc" -s base | json 0.dn 0.email | xargs ...
@trentm
Copy link
Owner

trentm commented Sep 16, 2011

[master 37c6f08] issue #19: multiple lookup strings in one invocation

Published and tagged jsontool 1.4.0 to npm.

@trentm trentm closed this as completed Sep 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants