----- Rodolfo García Peñas <[email protected]> a écrit :
> On Wed, 18 Jul 2012, Christophe escribió:
>
> > From 22a0070a830f4a149249b3c054b54d726ad954d3 Mon Sep 17 00:00:00 2001
> > From: Christophe CURIS <[email protected]>
> > Date: Wed, 18 Jul 2012 23:23:50 +0200
> > Subject: [PATCH] Fixed warning in Debian's wrapper script for wmaker
> >
> > The Debian script for WindowMaker generates some warnings on startup
> > due to 'find' being cautious about its options, updated them to be
> > in line with expectations.
> > ---
>
> Ok,
>
> now, we don't have the warning, but I am not sure if this script is fine :-)
>
> The reason, perhaps we need spaces between the files found:
>
> kix@osaka:~$ find /usr/share/WindowMaker/Styles/ -mindepth 1 -maxdepth 1
> -type f -print0
> [...]
>
> This is an example using /usr/share/WindowMaker/Styles/ instead of
> ~/GNUstep/Library/WindowMaker/Styles/
Hi,
What you see is because the matches are separated by a NUL ('\0'), which cannot
be printed by the terminal; this is ok because that is what xargs is expecting
(notice the '-0' option). This is a not so unusual trick to avoid problems with
file names that can contain spaces and any other potentially problematic
characters.
Regards,
Christophe.
--
To unsubscribe, send mail to [email protected].