According on the ldd linux command on /bin/chgrp the only necessary library for its execution is libc.so. When chgrp is debugged with gdb I've noticed that other libraries are actually loaded, such ...

I have a file such as
day1 aargh
day2 boom
day3 crack
day2 argh
and I want to sort it according to first key, but not any other keys, that is, I want to preserve order of lines where the key is the ...

Coreutils stat have --format= switch which report different info about file (owner, size, etc) in easy form for readers.
POSIX ls utility provide most of this info, but its output is hard to parse. ...

I found some data which seems to behave strangely in 'sort'. When doing a numerical sort on the first field of a csv file, the presence or absence of the 4th column causes the 7th line to be sorted ...

I am trying to build GNU Coreutils 8.23 using the LLVM 3.4 tool-chain. One very important aspect is that I also need the LLVM bytecode for all the coreutils. Therefore, I need to include -emit-llvm in ...

I'm using brew to retrieve and install common GNU versions of terminal commands and utils with brew install coreutils.
Then in my .bash_profile I'm including their PATH with
if [ -d $(brew --prefix ...

I expected this to be fairly straightforward, but I've run out of ideas this time. I'm working with with GNU coreutils on Windows 7 (not that it should make any difference). I've found another command ...

I've got a data-import script that reads lines and adds them to a database, so far so good. Unfortunately something in the script (or its runtime or database library or whatever) is memory leaky, so ...

Given a start date, I set the date to the end of the month of the previous year, and then try to loop 12m using a bash while loop.
The following loop never exits, and the date eventually skips from ...

I have an issue where a unix command executed with the python subprocess module is stuck:
(The full code is here:
https://github.com/discoproject/disco/blob/master/lib/disco/worker/classic/func.py)
...

I need to use GNU find command in order to locate files of the pattern, described by POSIX BRE below:
"_[[:digit:]]*.txt"
(underscore followed by any number of digits followed by period followed by ...

I 'm reading coreutils source code to learn programming under linux.
I find that in most of the programs like ls.c, cat.c, they invoke the macro function initialize_main() at the first few lines. So ...

I am using crypto++ library for some exercise. I am expecting the same output as from the sha256sum tool invoked from the shell.
// typedef unsigned char byte;
byte out[CryptoPP::SHA256::DIGESTSIZE];
...

I would like to use gnu less -N to show line numbers on a text file, but I would like the starting number to be one different than the first line. Is it possible to change the starting line with which ...

I have installed gnu coreutils from macports on osx. This script[1], using various coreutils, works as expected when I launch it from the terminal, but when I launch it using applescript[2] I get an ...