As long as you ship the dependencies (sed, awk…) in your snap, you can use them in the bash script without a problem. See stage-packages
in snapcraft.yaml
for shipping packages not included in the base snap: https://snapcraft.io/docs/build-and-staging-dependencies
2 Likes