Search results

  • 你的主软件包也会包含一些其他引用,删除它们最简单的办法就删除所有有下划线的属性,但用 ''sed'' 不是很方便。你可以使用 {{Pkg|jq}} 得到想要的结果: jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage"
    5 KB (334 words) - 17:26, 25 June 2022
  • ...operties, but that is not as easy with ''sed''. Instead, you can use {{Pkg|jq}} for similar results as follows: jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage"
    5 KB (711 words) - 17:26, 25 June 2022
  • ...mas isso não é tão fácil com o ''sed''. Em vez disso, você pode usar {{Pkg|jq}} para obter resultados semelhantes, como segue: jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage"
    5 KB (776 words) - 05:23, 20 December 2021
  • ...example, Mozilla provides json location data that can be parsed with {{Pkg|jq}} as follows ...curl -s "https://location.services.mozilla.com/v1/geolocate?key=geoclue" | jq -r '"\(.location.lat):\(.location.lng)"')
    13 KB (1,937 words) - 09:08, 15 March 2022
  • # rebuildctl pkgs ls --distro archlinux --suite core --status BAD --json | jq -r '.[].name' | xargs -L1 rebuildctl queue push archlinux core
    8 KB (1,183 words) - 05:38, 17 June 2022
  • $ swaymsg -t get_tree | jq -r '..|try select(.focused == true)' $ swaymsg -t get_inputs {{!}} jq -r '.[] {{!}} select(.identifier == "''kbd_identifier''") {{!}} .xkb_active
    14 KB (1,924 words) - 06:49, 27 June 2022
  • $ swaymsg -t get_tree | jq -r '..|try select(.focused == true)' $ swaymsg -t get_inputs {{!}} jq -r '.[] {{!}} select(.identifier == "''kbd_identifier''") {{!}} .xkb_active
    27 KB (1,878 words) - 07:13, 28 June 2022
  • $ swaymsg -t get_tree | jq -r '..|try select(.focused == true)' $ swaymsg -t get_inputs {{!}} jq -r '.[] {{!}} select(.identifier == "''identificador_kbd''") {{!}} .xkb_act
    19 KB (2,970 words) - 06:49, 27 June 2022
  • $ swaymsg -t get_tree | jq -r '..|try select(.focused == true)' $ swaymsg -t get_inputs {{!}} jq -r '.[] {{!}} select(.identifier == "''kbd_identifier''") {{!}} .xkb_active
    28 KB (4,286 words) - 05:04, 26 June 2022
  • $ grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"')"
    19 KB (2,755 words) - 00:31, 24 June 2022
  • * {{App|jq|Command-line JSON processor|https://stedolan.github.io/jq/|{{Pkg|jq}}}}
    75 KB (10,432 words) - 14:28, 30 June 2022