Skip to main content
5 events
when toggle format what by license comment
Jul 13, 2015 at 6:44 comment added Celada I realize that, but I felt it was necessary to stress the fact that $COLUMNS is not actually an environment variable, because it looked like the OP was expecting it to be one. It turns out the OP did indeed expect it to be one and ran into further problems because of that assumption..
Jul 13, 2015 at 6:09 history edited cremefraiche CC BY-SA 3.0
deleted 14 characters in body
Jul 13, 2015 at 6:07 comment added cremefraiche @Celada Here is a quote from, A Practical Guide to Fedora and RHEL Seventh Edidtion, although this stands in debian as well. "The set builtin can perform the following tasks.... -Display variables that are available to the current shell. These variables comprise shell variables (variables not in the environment) and environment variables." (pp.1036). OP already said they are using set, so bash is assumed.
Jul 13, 2015 at 5:46 comment added Celada That's not actually an environment variable, it's a virtual invention of [some] shells. The proof is that if it were an environment variable, it would not change when your tty was resized.
Jul 13, 2015 at 5:43 history answered cremefraiche CC BY-SA 3.0