FileContents
Introduction
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reading Lines with Continuation Characters
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Counting Lines (or Paragraphs or Records) in a File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Processing Every Word in a File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reading a File Backwards by Line or Paragraph
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Trailing a Growing File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Picking a Random Line from a File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Randomizing All Lines
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reading a Particular Line in a File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Processing Variable-Length Text Fields
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Removing the Last Line of a File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Processing Binary Files
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Using Random-Access I/O
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Updating a Random-Access File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reading a String from a Binary File
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reading Fixed-Length Records
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Reading Configuration Files
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Testing a File for Trustworthiness
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Program: tailwtmp
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Program: tctee
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
Program: laston
ada | c++ | commonlisp | cposix | erlang | factor | forth |
groovy | guile | haskell | haskell-on-steroids | java | masd | merd |
nasm | ocaml | perl | php | pike | pliant | python |
R | rexx | ruby | smalltalk | tcl |
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.