* Jim Meyering wrote on Thu, May 28, 2009 at 09:33:21PM CEST:
Glen Lenker wrote:
On Thu, Mar 26, 2009 at 09:50:08PM +, Ralf Wildenhues wrote:
Example run, on an 8-way, and with cat'ed instances of the dictionary,
on tmpfs, timings best of three:
Hey Ralf, did you happen to specify
Cliff Miller wrote:
hi,
i have a bug to report in coreutils-7.4. the problem occurs with
empty fields under -n/-g, specifically in sub-field specifications where
end start. according to the docs,
If the start position in a sort field specifier falls after the end of
the line or after
Hi,
su command is failing with below error on RHEL5. We are using
coreutils-5.97-14.el5
[r...@omvm6 ~]# su --version
su (GNU coreutils) 5.97
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
strace is showing below:
.
.
fstat(3,
Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
...
strace is showing below:
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or address)
The su command appears to be working properly. The problem shown
above is that your
Bob Proulx b...@proulx.com writes:
Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
...
strace is showing below:
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or
address)
The su command appears to be working properly.
Hello,
Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or
address)
1) su command is not failing
2) cat is working as expected
su -c creates new process in RHEL-5 - which is
I find it quite difficult to determine correct key positions to use,
especially given the complicated rules for (global) -b options etc.
I wonder would it be useful to add a --key-debug option,
which would mark in the output the keys used.
For multibyte locales you could use: ⌜key1⌟ blah blah⌜
That I have already checked.
[r...@omvm6 ~]# ls -ld /dev/tty
crw-rw-rw- 1 root tty 5, 0 Jun 13 00:32 /dev/tty
[r...@omvm6 ~]#
I have written, that after copying su executable from RHEL4 on RHEL5, it
is working. There must be some issue with coreutils-5.97.
Thanks Regards,
Sanjay Kumar
Sr.
Hello,
i am using wc in shell scripts
the exact command is:
wc FILE | cut -d -f 2
it usually works but sometimes wc outputs the result in a different
formatting, that is, I have to do a cut -d -f 3 to get the wc.
This is not very convenient that the wc program shall not return
Iram CHELLI wrote:
wc FILE | cut -d -f 2
it usually works but sometimes wc outputs the result in a different
formatting, that is, I have to do a cut -d -f 3 to get the wc.
The output format for the wc on different systems will produce a
differing number of leading spaces. Counting
Pádraig Brady wrote:
You probably want to squeeze adjacent blanks:
wc FILE | tr -s '[:blank:]' ' ' | cut -d' ' -f2
Note you might wonder why cut doesn't support -d'[:blank:]'
to auto skip runs of horizontal whitespace. Details here:
Hello,
if you need a specific wc output field, the words count in this case,
you can use the command `wc -w FILE'. Is it what you want?
Regards,
Giuseppe
Iram CHELLI iram.che...@loria.fr writes:
Hello,
i am using wc in shell scripts
the exact command is:
wc FILE | cut -d -f 2
Running nohup from coreutils 7.4, GNU clisp crashes on startup:
nohup /home/karl/src/clisp/clisp-build/clisp -q -norc -c
../../../../../utils/xindy/rte/ordrules/ordrulei.lsp -o ordrulei.fas
nohup: ignoring input and appending output to `nohup.out'
Segmentation fault
The output from
Sounds like a great idea to me.
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils
Pádraig Brady wrote:
I find it quite difficult to determine correct key positions to use,
especially given the complicated rules for (global) -b options etc.
I wonder would it be useful to add a --key-debug option,
which would mark in the output the keys used.
For multibyte locales you
Hi,
the craziness around F11 finished so I am using a little bit of
time I have to make one more round of my truncate/fallocate
patch (together with mkfile script). I wanted to make my patch
working with the Pádraig's fallocate gnulib module and clean up
tests (they should all pass now).
I am
* src/truncate.c: fixing parameters of fallocate call to fit the gnulib
module. New option is called --allocate (nobody is
interested in the implementation of the option). Doesn't use
posix_fallocate but fallocate directly (relying on gnulib).
* src/mkfile.in: script version of mkfile from
Matěj Cepl wrote:
Hi,
the craziness around F11 finished so I am using a little bit of
time I have to make one more round of my truncate/fallocate
patch (together with mkfile script). I wanted to make my patch
working with the Pádraig's fallocate gnulib module and clean up
tests (they
Cliff Miller wrote:
the non-trivial case here is when -b is present in the form
sort -k2.1b,2.3
where the start and end positions could be in either order depending
on the number of blanks that start field 2.
Right, good point.
I've added a test for that case also and pushed the
Pádraig Brady wrote:
Jim Meyering wrote:
I tried to build on Fedora 10 x86_64 and got this:
/usr/bin/ld: ../lib/libcoreutils.a(quote.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile with
-fPIC
../lib/libcoreutils.a: could not read
k...@freefriends.org (Karl Berry) writes:
Running nohup from coreutils 7.4, GNU clisp crashes on startup:
nohup /home/karl/src/clisp/clisp-build/clisp -q -norc -c
../../../../../utils/xindy/rte/ordrules/ordrulei.lsp -o ordrulei.fas
nohup: ignoring input and appending output to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Pádraig Brady on 6/12/2009 8:00 AM:
Note also that wc can output particular counts in isolation.
I.E. this will get the same affect as your original:
wc -w FILE | cut -d' ' -f1
Even better:
wc -w FILE
- --
Don't work too hard,
Pádraig Brady a écrit :
Iram CHELLI wrote:
Hello,
i am using wc in shell scripts
the exact command is:
wc FILE | cut -d -f 2
You probably want to squeeze adjacent blanks:
wc FILE | tr -s '[:blank:]' ' ' | cut -d' ' -f2
cheers,
Pádraig.
Thank you this is great.
Cheers,
Iram.
Bob Proulx a écrit :
Iram CHELLI wrote:
wc FILE | cut -d -f 2
it usually works but sometimes wc outputs the result in a different
formatting, that is, I have to do a cut -d -f 3 to get the wc.
The output format for the wc on different systems will produce a
differing number of
Pádraig Brady a écrit :
Pádraig Brady wrote:
You probably want to squeeze adjacent blanks:
wc FILE | tr -s '[:blank:]' ' ' | cut -d' ' -f2
Note you might wonder why cut doesn't support -d'[:blank:]'
to auto skip runs of horizontal whitespace. Details here:
Cliff Miller wrote:
hi,
i have a bug to report in coreutils-7.4. the problem occurs with
empty fields under -n/-g, specifically in sub-field specifications wher=
e
end start. according to the docs,
If the start position in a sort field specifier falls after the end of
the line
26 matches
Mail list logo