chapter01/

directory
v0.0.0-...-fb67ab8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: MIT

Directories

Path Synopsis
Ch01ex01 modifies Echo to print the name of the command that invoked it and all its arguments.
Ch01ex01 modifies Echo to print the name of the command that invoked it and all its arguments.
Ch01ex02 modifies Echo to print the index and value of each argument, one per line.
Ch01ex02 modifies Echo to print the index and value of each argument, one per line.
Ch01ex04 modifies dup2 to print the names of files in which duplicates occur.
Ch01ex04 modifies dup2 to print the names of files in which duplicates occur.
Ch01ex05 changes the palette to green on black.
Ch01ex05 changes the palette to green on black.
Ch01ex06 produces Lissajous images in multiple colours.
Ch01ex06 produces Lissajous images in multiple colours.
Ch01ex07 uses io.copy instead of ioutil.ReadAll for fetch.
Ch01ex07 uses io.copy instead of ioutil.ReadAll for fetch.
Ch01ex08 modifies fetch to add the prefix http:// to the URL argument if it is missing.
Ch01ex08 modifies fetch to add the prefix http:// to the URL argument if it is missing.
Ch01ex09 modifies fetch to also print the HTTP status code.
Ch01ex09 modifies fetch to also print the HTTP status code.
Ch01ex10 modifies fetchall to print the output to a file.
Ch01ex10 modifies fetchall to print the output to a file.
Ch01ex12 modifies the Lissajous server to read parameter values from the URL.
Ch01ex12 modifies the Lissajous server to read parameter values from the URL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL