Next | System Programming in Perl | 19 |
ls is a little tricky
When it runs, it makes an fstat call on its standard output
Among other things, this tells ls whether stdout is a file or a terminal
If it's a terminal, ls enables the column-formatting and color options
Next | 19 |