Skip to main content
15 events
when toggle format what by license comment
Nov 29, 2024 at 12:06 history edited Stéphane Chazelas CC BY-SA 4.0
added 452 characters in body
Feb 4, 2024 at 15:39 history edited Stéphane Chazelas CC BY-SA 4.0
added 9 characters in body
Feb 2, 2024 at 17:29 history edited Stéphane Chazelas CC BY-SA 4.0
added 108 characters in body
Feb 2, 2024 at 17:23 history edited Stéphane Chazelas CC BY-SA 4.0
added 108 characters in body
Aug 12, 2022 at 8:26 comment added Stéphane Chazelas @Noumenon, because that approach has a side effect (runs in a subshell) that makes it unapplicable in man cases.
Aug 12, 2022 at 8:24 comment added Noumenon If the simple subshell approach is "Portable (Bourne and POSIX)", why bother with all the more verbose answers for specific shells?
Feb 24, 2022 at 15:49 history edited Stéphane Chazelas CC BY-SA 4.0
added 46 characters in body
Jan 21, 2022 at 8:04 history edited Stéphane Chazelas CC BY-SA 4.0
added 1 character in body
Nov 19, 2019 at 9:36 history edited Stéphane Chazelas CC BY-SA 4.0
added 353 characters in body
Nov 19, 2019 at 9:19 review Suggested edits
Nov 19, 2019 at 9:30
Sep 13, 2017 at 15:12 comment added kronenpj For my purposes, this is the correct solution. I don't want the variable 'var' to pollute the environment as it does in the accepted answer.
Dec 2, 2016 at 10:34 history edited Stéphane Chazelas CC BY-SA 3.0
added 378 characters in body
Dec 2, 2016 at 10:25 history edited user147505 CC BY-SA 3.0
edited body
Dec 1, 2016 at 21:07 history edited Stéphane Chazelas CC BY-SA 3.0
added 15 characters in body
Nov 23, 2012 at 11:31 history answered Stéphane Chazelas CC BY-SA 3.0