Search results

  • ...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 (740 words) - 22:21, 14 October 2023
  • ...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 (784 words) - 15:37, 1 June 2023
  • ...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)"') ...
    12 KB (1,700 words) - 10:38, 25 February 2024
  • # rebuildctl pkgs ls --distro archlinux --suite core --status BAD --json | jq -r '.[].name' | xargs -L1 rebuildctl queue push archlinux core ...
    9 KB (1,299 words) - 21:28, 27 November 2023
  • $ swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | $ hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g - screenshot.p ...
    22 KB (3,247 words) - 13:41, 11 April 2024
  • readarray l_ifs < <(/sbin/ip -6 -j address | jq -r '.[] | .ifname ') jq -r '.[0].addr_info[].local') ...
    22 KB (3,445 words) - 10:17, 19 April 2024
  • $ 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,985 words) - 07:10, 5 July 2023
  • readarray l_ifs < <(/sbin/ip -6 -j address | jq -r '.[] | .ifname ') jq -r '.[0].addr_info[].local') ...
    35 KB (1,347 words) - 21:52, 7 January 2024
  • $ swaymsg -t get_tree | jq -r '..|try select(.focused == true)' $ swaymsg -t get_inputs {{!}} jq -r '.[] {{!}} select(.identifier == "''kbd_identifier''") {{!}} .xkb_active ...
    34 KB (5,230 words) - 11:33, 22 April 2024
  • ;jq: Command-line JSON processor seq 1 100 | jq '"Arch is the best!"' ...
    33 KB (4,825 words) - 08:30, 25 April 2024
  • kubectl get nodes -o json | jq '.items[].spec.taints ...
    26 KB (3,610 words) - 18:54, 1 April 2024
  • $ swaymsg -t get_tree | jq -r '..|try select(.focused == true)' $ swaymsg -t get_inputs {{!}} jq -r '.[] {{!}} select(.identifier == "''kbd_identifier''") {{!}} .xkb_active ...
    34 KB (5,325 words) - 11:33, 22 April 2024
  • | {{Pkg|nvme-cli}}, {{Pkg|jq}} ...
    21 KB (3,053 words) - 13:05, 24 April 2024
  • ...t and can be very long. Readability can be greatly improved by using {{Pkg|jq}}: {{bc|# jq . </var/log/nextcloud/nextcloud.log {{!}} less}} ...
    64 KB (9,540 words) - 13:54, 14 April 2024
  • $ grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"')" ...
    22 KB (3,247 words) - 04:18, 12 April 2024
  • $ grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"')" ...
    30 KB (1,198 words) - 04:18, 12 April 2024
  • * {{App|jq|Command-line JSON processor|https://stedolan.github.io/jq/|{{Pkg|jq}}}} ...
    81 KB (11,387 words) - 06:41, 18 April 2024