Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Printfile

Function: printfile (<path>) Prints the file named by <path> to the console. <path> may be a string or a symbol; if it is a symbol, it is converted to a string.

printfile("/etc/passwd");

If <path> names a file which is accessible from the current working directory, that file is printed to the console. Otherwise, printfile attempts to locate the file by appending <path> to each of the elements of file_search_usage via filename_merge.

printfile returns <path> if it names an existing file, or otherwise the result of a successful filename merge.

(%o1)                                true
(%i2) 

Related Examples

printfile

printfile("/etc/passw...

Calculate

printfile

? printfile;

Calculate

printfile

printfile ("/etc/pass...

Calculate

printfile

printfile("/etc/passw...

Calculate

printfile

? printfile;

Calculate

printfile

printfile ("/etc/pass...

Calculate