ls -l から次のようなカスタム出力を生成する awk スクリプトを作成しようとしています。
File xxx.txt has size of 100 blocks, was last modified on July 3 2013, is owned by Kohn. The user has read permission, has write permission and has execute permission.
Dir abc has size of 200 blocks, was last modified on July 1 2013, is owned by Kohn. The user has read permission, does not have write permission and has execute permission.
...
最も難しい作業は、最初の列 $1 を解析してアクセス許可とファイル/ディレクトリを取得することです。これを解決するヒントを教えてください。
敬具、コーン