diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-29 16:33:00 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-29 16:33:00 +0300 |
commit | 82816b279615b27f7c4f87349a8c830a96939d8c (patch) | |
tree | cf30bf71692e090ca6ca4934e65184aa990a3055 /test/readdir0.awk | |
parent | 207fc1458c7f168822e454a89f23428c64163427 (diff) | |
download | egawk-82816b279615b27f7c4f87349a8c830a96939d8c.tar.gz egawk-82816b279615b27f7c4f87349a8c830a96939d8c.tar.bz2 egawk-82816b279615b27f7c4f87349a8c830a96939d8c.zip |
Finish work on iop management. New readdir test.
Diffstat (limited to 'test/readdir0.awk')
-rw-r--r-- | test/readdir0.awk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/readdir0.awk b/test/readdir0.awk new file mode 100644 index 00000000..54306f10 --- /dev/null +++ b/test/readdir0.awk @@ -0,0 +1,9 @@ +{ + ino = $1 + name = $NF + type = substr($2, 1, 1) + if (type == "-") + type = "f" + + printf "%s/%s/%s\n", ino, name, type +} |