Skip to main content
3 events
when toggle format what by license comment
Oct 27, 2023 at 11:55 comment added shadowtalker Thanks @Gilles'SO-stopbeingevil'! It looks like the POSIX documentation is here, including -p: opengroup.org/onlinepubs/9699919799/utilities/…
Oct 27, 2023 at 11:15 comment added Gilles 'SO- stop being evil' Use export -p in any POSIX or Bourne-like shell, including zsh, to get output that the same shell can parse (with export statements and proper quoting of the values). A POSIX-compliant shell emits output that any other POSIX-compliant shell can parse. Bash is not compliant unless set to POSIX mode: it emits output that it can parse, but other shells can't.
Oct 26, 2023 at 15:53 history answered shadowtalker CC BY-SA 4.0