ru Русский

Reticularium

NETWORKS PLACE

It’s not easy to remember, so here’s the reference.

var=aaa.bbb.ccc

  % %% # ##
  .*  ${var%.*} => aaa.bbb ${var%%.*} => aaa ${var#.*} => aaa.bbb.ccc (doesn’t work) ${var##.*} => aaa.bbb.ccc (doesn’t work)
  *.  ${var%*.} => aaa.bbb.ccc (doesn’t work) ${var%%*.} => aaa.bbb.ccc (doesn’t work) ${var#*.} => bbb.ccc ${var##*.} => ccc
Read the article

Bash files test operators reference. Everybody using Bash actively should know at least -e -f and -d operators, but there are many others :)

Read the article

Bash special variables reference. Everybody using Bash actively should know at least positional variables, Return value variable, Process ID variable, but there are also many others..

Read the article

Textile is a simple text markup. Simple symbols mark words’ emphasis. Blocks of text can be easily tagged as headers, quotes, or lists. A Textile document can then be converted to HTML for viewing on the web. You can try Textile out on the Textile home page.

Textile is also available as RedCloth for Ruby or PyTextile for Python.

Read the article

Vi commands reference, excerpted from the documentation. I’ve been using vi for years, but it’s still a very exciting reading for me (kind of “wow! It’s just that simple!”)

Read the article