I seem to get a warning from the use of the cut command in
tools/rewrite_version_bzr.sh (building on NetBSD 6.1.x):

murthe.4:.../ctwm/bzr/trunk$ make
( cd build && make all )
[  2%] Generating ctwm_atoms.h, ctwm_atoms.c
[  5%] [BISON][ctwm_parser] Building parser with bison 3.0.4
gram.y: warning: 10 shift/reduce conflicts [-Wconflicts-sr]
[  7%] [FLEX][ctwm_lexer] Building scanner with flex 2.5.35
[ 10%] Generating deftwmrc.h
[ 13%] Generating version.c from current WT state.
cut: unknown option -- w
Usage:  cut -b list [-n] [file ...]
        cut -c list [file1 ...]
        cut -f list [-d delim] [-s] [file ...]
[ 15%] Generating ewmh_atoms.h, ewmh_atoms.c

I tried to look up what the -w option was supposed to do but couldn't
find it. For fun I just removed it (so it became cut -f2-) and it seemed
to have no immediate ill effects.

(of course while writing this email I finally found it, but only in
FreeBSD 10 and higher manual pages: "Use whitespace (spaces and tabs) as
the delimiter." This could be replaced by -d ' '. In that case it does
properly cut off the first field being the version number.)

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: pgpBj4g6b0PBD.pgp
Description: PGP signature

Reply via email to