ru Русский

Reticularium

NETWORKS PLACE

If you have Vim syntax highlighting enabled, the code example below will be highlighted incorrectly: 2, 3 and 4 lines (as well as the all lines below) will be all in blue as if they are comments. This happens because Vim considers everything after /* as a commentary.

1
2
3
4
for script in ${rpath}/*.mon.sh
do
   $script ${1}
done
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