Fixed warning with MSVC
docs, f-units: replace LANGUAGE with LANGUAGES

To deal specification of multiple languages, misc/units is
extended to take --languages option. This patch reflects this
to the document.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: show guessed language for input

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: reorganize the code to print help messages

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
vim: define default filename patterns for vimrc etc

This is meant to match:
 - vimrc, gvimrc (typically used in dotfiles repos or system-wide config)
 - .vimrc, _vimrc (config file name for unix/windows)
 - .gvimrc, _gvimrc (GUI config file name unix/windows)
units: Fix color output to support dash
units: Add decorate() function

Signed-off-by: Masatake YAMATO <yamato@redhat.com>

Conflicts:
	misc/units
Merge branch 'vhda-units/color-dash-support'
units: add shrink subcommand which do the same as badinput.c

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: define WITH_VALGRIND at the top level

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: introduce --colorized-output option

In the case that escape sequences in the output is not desired,
the option can be used.

New global variable COLORIZED_OUTPUT is introduced. _CONNECTED_TO_FILE
is replaced with it.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Merge pull request #120 from blueyed/vim-add-vimrc-pattern

vim: define default filename patterns for vimrc etc
units: record the result of test to RESULT.tmp

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: mark _VALGRIND_EXIT as readonly constant

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: use dos2unix to split the output of --list-* line by line

Following code didn't work well on windows:

     for f in $(ctags --list-features); do
     	do_something_with $f
     done

This patch introduces dos2unix to split the output of ctags line by line

This is suggested by #116 by @ffes.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: allow multiple units

multiple units seprated by comma can be specified with UNITS=.

  $ make -f testing.mak test.units UNITS=bug852368.cpp,bug816636.sml

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: simplfy units target
Fixed bug encounted when testing under Windows/Cygwin