Zanette Arrigo <[EMAIL PROTECTED]> [2002-11-25 16:14:15 +0100]:
> There is a way to get the file mode (octal or text)?
Sounds like you are looking for:
ls -ld file | awk '{print$1}'
Putting it into a variable.
filemode=$(ls -ld file | awk '{print$1}')
Bob
___
Arrigo --
...and then Zanette Arrigo said...
%
% I' ve a simple question.
Hmmm... That doesn't sound much like a bug report, then. This list is
really for bug reports for the GNU fileutils package. However, since
we're here...
% There is a way to get the file mode (octal or text)?
There ar