system and open

ALAN BARNES (asbarnes@mtu.edu)
Fri, 27 Mar 92 14:13:39 EST

Ok, a couple of questions. Where is write and related functions located?
They aren't in built-in with open. I cannot find close either. I want to
write the output of something to a file but cannot figure out where these
commands are located. They are only mentioned breifly in the docs I have which
I am assuming are the current ones. Also, is there any way to get the output
of a system command assigned to a variable? e.g. list = system('ls'). I want
to do something like this also but don't know if I would be able to. Any ideas
are appreciated. Thanks...

-- 

+------------------------------------------------+ | /--------------------------\ | | | Bart Got an Erection | | | |\/\/\/| / Bart Didn't Use Protection \ | | | | | Bart Got an Infection ! | | | | (o)(o) \_ _________________________/ | | c _) | / | | | '___| <_/ Don't be tough | | | / Don't be silly | | /____\ Wear a condom | | / \ on your Willy ! | +------------------------------------------------+ | M asbarnes@mtu.edu | | T asbarnes@symmetry.cs.mtu.edu | | U asbarnes@mtus5.cts.mtu.edu | | A.K.A. The Artful Dodger | *_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-*