s.2.s
You get the same on openSUSE 11.3 with LC_ALL=C. Looks like the i18n
patch in the openSUSE version is the culprit.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
)
return false;
}
- fadvise (stdin, FADVISE_SEQUENTIAL);
+ fadvise (istream, FADVISE_SEQUENTIAL);
while ((c = getc (istream)) != EOF)
{
--
1.7.3.1
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"An
Jim Meyering writes:
> I'm curious: how did you find the bug?
Just by code inspection.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
fiers rather than burning new letters just for the nanosecond
> portions. And now that POSIX 2008 requires nanonsecond resolution
> in stat(2), you could argue that we should always be displaying it.
There are a lot of scripts that assume whole integer output from
%[WXYZ]. It would have been b
Jim Meyering writes:
> Can you point to any others?
Tramp, mkinitrd on openSUSE 11.3.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Jim Meyering writes:
> And besides, with coreutils-8.6 already released, reverting the
> change is no longer an option.
Why? I'm pretty sure more breakage will pop up over time.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D
Eric Blake writes:
> On 10/21/2010 03:22 AM, Andreas Schwab wrote:
>>
>>
>> Jim Meyering writes:
>>
>>> And besides, with coreutils-8.6 already released, reverting the
>>> change is no longer an option.
>>
>> Why? I'm pretty sure
sac
> }
> f
> EOF
> $ /bin/sh -c '. init.cfg'
> [Exit 97]
Perhaps local isn't really the builtin local?
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
(but this is not enough for coreutils, since some
> failing tests don't yet use init.sh)
Why not just add the quotes? This isn't formally an assignment, so the
behaviour of the shell is reasonable after all.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 5
d be
unsafe with word splitting).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Eric Blake writes:
> I'm trying to come up with some
> git submodule foreach 'command $sha1'
> formula that will allow you to make the same check without having to
> resort to wget or even to hardcoding the URL of each upstream repository.
Like git ls-remote?
A
o a FreeBSD machine, and have been testing these cases as I
> type these mails). It is only required when you have exactly 2
> arguments but don't want the second to be treated as a suffix.
The manpages are online under <http://www.freebsd.org/cgi/man.cgi>.
Andreas.
--
Andrea
Jim Meyering writes:
> +timeout 1 uniq -f 100 in || fail=1
"The Cray-3 is so fast it can execute an infinite loop in under 2
seconds!"
Andreas. :-)
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> +# Prohibit suspension, which could otherwise cause a timeout-induced FP
> failure.
> +trap '' STOP TSTP
SIGSTOP cannot be caught, blocked, or ignored.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 827
>
>
You can do that with awk:
$ awk '{print $1,$2}'
$ awk '{print $2}'
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Pádraig Brady writes:
> The dir was changed to appease newer automake
>
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=e23f1795
The change is backwards. A library has no place in a PROGRAMS primary.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fi
#x27;t be placed
there in the first place, but rather based on libdir.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Bob Proulx writes:
> If you like vi keys then use 'pinfo' (Przemek's Info Viewer) which
> uses vi keys by default. Give pinfo a try.
Or info --vi-keys.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8
Peng Yu writes:
> Typing 'man mktemp' is faster than "info coreutils 'mktemp
> invocation'".
"info mktemp" is much faster than "man mktemp".
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 94
Simon Hintermann
writes:
> Now is there any way to be able to copy a sparse dd file that uses only
> 10MB out of 120GB without transferring the whole 120GB over to another
> server (keeping the sparse capability, of course...)?
rsync --sparse.
Andreas.
--
Andreas Schwab, sch
=$(eval echo "\\\$REV_$opt1")
> - rev2=$(eval echo "\\\$REV_$opt2")
> + rev1=$(eval echo "\$REV_$opt1")
> + rev2=$(eval echo "\$REV_$opt2")
eval rev1=\$REV_$opt1
eval rev2=\$REV_$opt2
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
;test $opt = cread && continue
> - rev=$(eval echo "\$REV_$opt")
> + eval \$REV_$opt
That's not what I wrote.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
er appropriate in
> this
> -document. For the full list, see @xref{Compatibility in ptx}.
> +document. @xref{Compatibility in ptx} for the full list.
@xref must be followed by a period or comma.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B
Bruce Korb writes:
> I can either add this to cp, or roll my own toy. What say you?
Use rsync --partial --append.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
rld | tee a.suffix > b.suffix &
Here the shell waits for a reader for b.suffix (tee hasn't even been
started yet).
> cat a.suffix b.suffix
Here cat is waiting for a writer for a.suffix (b.suffix hasn't even been
considered yet).
Andreas.
--
Andreas Schwab, sch...@linux-m
Eric Blake writes:
> find -mtime $(( ( $(date +%s) - $(date -d 'Jan 1') ) / 24 / 60 / 60 ))
+%s
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for so
srcdir"/src/stty.c | tr '\n' ' ')
> ...
>
> Thanks, but this c-set is unnecessary, since configure itself verifies
> the sanity of $srcdir and $abs_top_srcdir:
Except that $abs_top_srcdir may contain spaces.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
in initrd. During normal system run,
after the real root mount has be moved to /, the recursive rootfs entry
no longer exists in mountinfo (since it is hidden).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
&qu
*somefiles*' but it's not optimal and I might miss lines
>> > if a file is bigger than expected.
>>
>> Try head -n-0.
>
> I like it!
This is non-standard. tail -n+1 is portable.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
t || fail=1
Still wrong.
<http://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html>:
The standard input shall be a text file.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Pádraig Brady writes:
> A "text file" doesn't have to have a new line AFAIK,
It does.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
3.206 Line
A sequence of zero or more non- characters plus a terminating
character.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
204e9800998ecf8427e
None of them handle quoted file names:
$ md5sum a\\b | awk '{print$1}'
\d41d8cd98f00b204e9800998ecf8427e
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
t;%d %s\n", ,
>
> Instead, GNU du uses "%d\t%s\n", i.e., a tab character as delimiter,
> even if POSIXLY_CORRECT is set.
>
> Do I read POSIX right?
No, the space stands for any (positive) amount of white space.
http://pubs.opengroup.org/onlinepubs/9699919799/base
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
--
2.4.0
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Daiki Ueno writes:
> + fputs (_("\
> + -S, --sequential[=INTERVAL] treat lines as numbers, and remove adjacent\n\
> + numbers as duplicate lines\n\
Is the output of "seq 1.0 0.1 1.5" sequential?
Andreas.
--
Andreas Schwab, sch..
Bob Proulx writes:
> Hmm... I don't know. Should this work?
No. POSIX doesn't have leap seconds.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Peng Yu writes:
> Hi, `touch -r` allows one to set the time of a file same as a
> reference file. What if one wants to set the time to be the last time
> of multiple files? Is there an easy way to do so?
$ touch -d @$(stat -c %s $files | sort -n | tail -n1) $file
Andreas.
--
Andre
Andreas Schwab writes:
> Peng Yu
>
> writes:
>
>> Hi, `touch -r` allows one to set the time of a file same as a
>> reference file. What if one wants to set the time to be the last time
>> of multiple files? Is there an easy way to do so?
>
> $ touch -d @
ition
reliably. There is also the problem of TOCTOU.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
--
2.13.2
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
in and paste simultanously read both files, whereas cat and
tac read one file after the other. Then tee blocks on stdout because
nobody drains the pipe buffer.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for som
AUTOMOUNT. I installed the first patch to cause it be consistent in
> using AT_NO_AUTOMOUNT, which is also consistent with what glibc does
??? In glibc, stat is the same as fstatat(,,,0).
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E7
+
cat $proc_large > 2 || fail=1
# adjust varying parts
--
2.40.0
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
%t is C99
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
BAL);
That only works if libopenssl-devel is installed.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
matched literally.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
47 matches
Mail list logo