/usr/share/axiom-20120501/input/fname.input is in axiom-test 20120501-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | )set break resume
)spool fname.output
)set message test on
)set message auto off
)clear all
)system touch /tmp/reado
)system chmod +r,-w /tmp/reado
)system touch /tmp/writo
)system chmod +w,-r /tmp/writo
--S 1 of 9
nullo: FNAME := new("", "nullo", "x")
--R
--R
--I (1) "nullo1406.x"
--R Type: FileName
--E 1
--S 2 of 9
reado: FNAME := filename("/tmp", "reado", "")
--R
--R
--R (2) "/tmp/reado"
--R Type: FileName
--E 2
--S 3 of 9
writo: FNAME := "/tmp/writo"
--R
--R
--R (3) "/tmp/writo"
--R Type: FileName
--E 3
--S 4 of 9
[directory reado, name reado, extension reado]
--R
--R
--R (4) ["/tmp","reado",""]
--R Type: List(String)
--E 4
--S 5 of 9
[directory writo, name writo, extension writo]
--R
--R
--R (5) ["/tmp","writo",""]
--R Type: List(String)
--E 5
--S 6 of 9
[directory nullo, name nullo, extension nullo]
--R
--R
--I (6) ["","nullo1406","x"]
--R Type: List(String)
--E 6
--S 7 of 9
[exists? reado, readable? reado, writable? reado]
--R
--R
--R (7) [true,true,false]
--R Type: List(Boolean)
--E 7
--S 8 of 9
[exists? writo, readable? writo, writable? writo]
--R
--R
--R (8) [true,true,true]
--R Type: List(Boolean)
--E 8
--S 9 of 9
[exists? nullo, readable? nullo, writable? nullo]
--R
--R
--R (9) [false,false,true]
--R Type: List(Boolean)
--E 9
)system rm -f /tmp/reado
)system rm -f /tmp/writo
)spool
)lisp (bye)
|