No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

syntax.txt 829B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. example raw output:
  2. [{
  3. "StdOut": [
  4. {"processes": {"pid": 1, "name": "init"}}
  5. ]
  6. },
  7. {
  8. "StdOut": [
  9. {"processes": {"pid": 2, "name": "bash"}}
  10. ]
  11. }]
  12. example queries:
  13. $ destreamify "stdout"
  14. [
  15. {"processes": {"pid": 1, "name": "init"},
  16. {"processes": {"pid": 2, "name": "bash"}}
  17. ]
  18. $ destreamify "stdout~processes"
  19. [
  20. {"pid": 1", "name": "init"},
  21. {"pid": 2", "name": "bash"},
  22. ]
  23. if we had a specialls that output stdout like this:
  24. [
  25. "weird_derp": {
  26. "files": [{"name": ____}]
  27. }
  28. ]
  29. Then we would use
  30. $ specialls --json | tributary "stdout>weird_derp"
  31. [
  32. {"files": [{"name": _____}, ...]},
  33. {"files": [{"name": _____}, ...]},
  34. ]
  35. Then we can do
  36. $ specialls --json | tributary "stdout>weird_derp" | cat --json
  37. also valid
  38. ----------
  39. stdout>"file name">name
  40. stdout>"file>name">name
  41. not valid
  42. ---------
  43. stdout>file name>name