4 ms·
Hm, yeah, I've been using #!/usr/bin/env -S ansible-playbook --diff to turn ansible playbooks to scripts, but reading https://www.man7.org/linux/man-page
by yjftsjthsd-h 3y ago
Hm, yeah, I've been using
#!/usr/bin/env -S ansible-playbook --diff
to turn ansible playbooks to scripts, but reading https://www.man7.org/linux/man-pages/man1/env.1p.html https://www.man7.org/linux/man-pages/man1/env.1p.html it looks like -S isn't actually POSIX-specified.
- jitl 3y ago-S is available from macOS env, which is good enough in my book! Unfortunately macOS sed and gsed differences are a huge pain in the ass