blob: b0cbe49d1e939d9de0ba93db3c7f594e08edc22b (
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
|
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input FNAME.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=
-- Input generated from FileNameXmpPage
)clear all
fn: FileName
fn := "/spad/src/input/fname.input"
directory fn
name fn
extension fn
fn := filename("/u/smwatt/work", "fname", "input")
objdir := "/tmp"
fn := filename(objdir, "table", "spad")
fn := filename("", "letter", "")
exists? "/etc/passwd"
readable? "/etc/passwd"
readable? "/etc/security/passwd"
readable? "/ect/passwd"
writable? "/etc/passwd"
writable? "/dev/null"
writable? "/etc/DoesNotExist"
writable? "/tmp/DoesNotExist"
fn := new(objdir, "xxx", "yy")
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}
|