bash-2.05b$ echo $COLUMNS 80 bash-2.05b$
when ran strait from the console, the number of columns is printed.
but in a teeny bash script:
#!/bin/bash echo $COLUMNS
it doesn't do anything:
bash-2.05b$ chmod +x ./columns.sh bash-2.05b$ ./columns.sh bash-2.05b$
why?











