Skip to content

Latest commit

 

History

History
240 lines (186 loc) · 10.6 KB

Useful_links.md

File metadata and controls

240 lines (186 loc) · 10.6 KB

A collection of links from the slides

This list is not meant to be complete. Links have been extracted from the lecture and reorganized trying to follow the lecture order of topics. Links to the Bash manual have been adjusted to point to the HTML version and, hence, to the correct section. This might break in the future, though. Links meant for future reference to go beyond the slides content.

Table of content


Overview

Quoting special characters

Variables

Special parameters

Shell expansion

Globs

Conditionals

Colors cursor movements

Input/Output

Shell options

GNU_Coreutils

File descriptors

Compound commands

Functions

Autocompletion

GNU Readline

Asynchronous commands

Error handling

Sed

Awk

Good practices

Useful tools

Bash in real life


Disclaimer

This collection was extracted from the TeX/Slides folder using a admittedly horrendous pipeline, which is reported here below. The output was then edited by hand.

grep -rno '\\URL[^{]*{[^}]*}{[^}]*}' . |\
awk '
  BEGIN{FS=":"; OFS=":"}
  {
    texfile=$1;
    texfile=gensub(/^[.]\/(.*)[.]tex$/, "\\1", "g", texfile);
    printf "%40s   %s\n", texfile, substr($0, index($0,$3))
  }' |\
awk '
  {
    if($1 != section)
    {
      printf "#### %s\n", $1
    };
    section=$1
  }
  {
    $1="";
    printf "  - %s\n", $0
  }' |\
awk '
  BEGIN{FS="[{}]"}
  $1 ~ /^1/ {print "\n"$0"\n"; next}
  $1 ~ /URL/ {url=$2; printf "  - [%s](%s)\n", substr($0,index($0,$4)), url}' |\
sed 's/}]/]/' | less -r