#!/bin/sh tmp=$(mktemp) cat <<EOF | awk '!/^\s*#/' >"$tmp" darkreader:navbar keepassxc-browser:navbar vhack-libredirect:navbar torproject-snowflake:navbar tridactyl-vim:menupanel ublock-origin:menupanel EOF # The bin is provided in the devshell; # The cat execution should be unquoted; # shellcheck disable=SC2046 generate_extensions $(cat "$tmp") >"$(dirname "$0")"/../config/extensions/extensions.json rm "$tmp"