aboutsummaryrefslogtreecommitdiff
path: root/src/input/fname.input.pamphlet
blob: d37a83a4c97b42f2ef5c24c66c05c138aa84b71f (plain)
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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input fname.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1991.
@
<<*>>=
<<license>>

)system touch /tmp/reado
)system chmod +r,-w /tmp/reado
)system touch /tmp/writo
)system chmod +w,-r /tmp/writo

nullo: FNAME := new("", "nullo", "x")
reado: FNAME := filename("/tmp", "reado", "")
writo: FNAME := "/tmp/writo"

[directory reado, name reado, extension reado]
[directory writo, name writo, extension writo]
[directory nullo, name nullo, extension nullo]

[exists? reado, readable? reado, writable? reado]
[exists? writo, readable? writo, writable? writo]
[exists? nullo, readable? nullo, writable? nullo]

)system rm -f /tmp/reado
)system rm -f /tmp/writo
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}