What:
timeout, executes the sub-command a-la GNU time/nice, but takes
arguments to control the amount of wallclock time the process is
allowed.
Why:
- ulimit for real time
- No current util (GNU or otherwise) widely distributed (AFAIK)
- Useful in scripting, particularly with network apps
I was
On Mon, 28 Jun 2004, Paul Jarc wrote:
How would you limit wall-clock time? Schedule SIGALRM with
setitimer and then exec the given command?
I've long used a command of my own called 'alarm' that just does that.
However, this strategy doesn't always work well if the command has
On Thu, 15 Jul 2004, David [iso-8859-15] Gómez wrote:
Several coreutils, like mv, cp, rm, ln, etc... fails when the file passed
as first parameter starts with a hyphen:
$ cp -old new cp: missing destination file Try `cp --help' for more
information. thanks,
Please see this FAQ entry:
On Wed, 4 Aug 2004 [EMAIL PROTECTED] wrote:
should I send here (possible) bug requests about linux utils?
You should if they are GNU coreutils utilities. You can tell whether
this is the case by running the util with the --version argument, e.g.
$ ls --version
ls (coreutils) 5.2.1
Written by
On Tue, 3 Aug 2004, Tim Waugh wrote:
When using 'cp -a' to copy a directory structure, it has some
unexpected behaviour. See the attached Makefile, which compares the
behaviour between tar, cpio, and cp.
I might be missing something here; I can't reproduce this with a recent
cp (from FC2):
$
On Wed, 11 Aug 2004, Tim Waugh wrote:
Thinking about it, it must be order-specific. But here's the output I
get:
`2/d/3' - `1/d/3'
`2/d/2' - `1/d/2'
`2/d/1' - `1/d/1'
`2/d/4' - `1/d/4'
OK, so this is a filesystem-dependent issue when using --recursive on
source and destination directories
On Fri, 20 Aug 2004, Mario Lombardo wrote:
In the last triplet, a capital T isn't discussed on the man page. I know
it's sticky, but it means something different from drwxrwxrwt. Where can I
get more info on this? I'd like to learn.
$ info coreutils 'Mode Structure'
In addition to the
On Tue, 14 Sep 2004, Joe wrote:
I type ls --help
it shows -d, --directory list directory entries instead of contents,
and do not dereference symbolic links
then I type ls -d under my home directory, it display nothing , but
actually there are some directories under my home directory.
By
On Thu, 16 Sep 2004, Alfred M. Szmidt wrote:
Could someone explain the following behaviour for me? Because I sure
do not understand it.
[EMAIL PROTECTED]:/tmp/foo$ touch 1 2 3 4 5
[EMAIL PROTECTED]:/tmp/foo$ foo=`ls`
Here, ls knows it is not outputting to a terminal, so implies the -1
option.
On Tue, 21 Sep 2004, Paul Eggert wrote:
[snip]
Last but not least, is there prior art for this sort of thing?
Recent RedHats come with the taskset(1) utility in the schedutils
package. Its usage:
taskset version 1.3.0
usage: taskset [options] [mask] [pid | cmd [args...]]
set or get the
On Tue, 5 Oct 2004 [EMAIL PROTECTED] wrote:
I thought this was interesting...
http://blogs.sun.com/roller/page/jbeck/20041001#rm_rf_protection
I'd struggle to find a justification for removing / (perhaps some
chroot'd scenario), but surely this kind of protection mechanism belongs
in the
On Fri, 8 Oct 2004, Mike Westall wrote:
The file fack.0-1.dif is an ASCII text file of 54,853 lines
with 4 columns of numeric data. I noticed very slow performance
when trying to sort on a RH9.0 system:
Stop right there - Unicode problems. See:
http://rhn.redhat.com/errata/RHBA-2004-083.html
On Mon, 1 Nov 2004, Laurent Charpentier wrote:
touch --date $(date --date '1 hour ago') /tmp/foo
In fact I want the date '1 hour' younger than its current timestamp
(not 1 hour ago from now).
It's getting messy, but I think this works:
$ touch -d $(date -d $(date -r foo) 1 hour ago) foo
On Fri, 5 Nov 2004, Brendan Byrd/SineSwiper wrote:
Also, I have a question about how files are moved. Currently, all files
are copied to a new diskspace, and then the old diskspace is removed.
Only when the file is moving across filesystem boundaries.
Try this to see how mv usually behaves:
$
On Mon, 15 Nov 2004, Dimieari Macaulay wrote:
'am happy to join the Linux family.As a programmer,I would wish to send
in some few contributions:
[snip]
Glad that you've taken an interest in improving the tools which ship
with whichever Linux distribution you've found, but this mailing list
On Fri, 19 Nov 2004, Paul Eggert wrote:
If small size is all you want, I can do a lot better than that:
$ ls -l true
-rwxr-xr-x 1 eggert eggert 10 2004-11-19 22:18 true
$ ./true; echo $?
0
Can't beat this for size:
$ ls -l true
-rwxr-xr-x 1 prowlands users 0 Nov 20 12:59 true
$ ./true;
On Tue, 7 Dec 2004, Aroussi Asher wrote:
The sort command : 'sort -M list_of months' doesn't work.
It seems that the sorting is an alphabetic one instead of chronological.
Could you give an example of what you did, what happened, and what you
expected to happen? It appears you may be trying to
On Tue, 21 Dec 2004, Simon Josefsson wrote:
I was looking for something simpler, preferably the tool should even be
called 'base64' so TAB completion works. Perhaps base64 is not yet as
widely used to motivate it being part of coreutils, though. Just
because I often need such a tool doesn't
On Sun, 30 Jan 2005, Tony Guo wrote:
after I tried a few commands to change to different versions of shells
available (sh, csh, ksh, etc.) with my fedora core 2 installation, and
have a few su-ed windows open, I suddenly found the su command does not
work any more, neither was my root password
On Thu, 3 Feb 2005, Thomas Herter wrote:
With this setting of TERM and with this Linux version:
stnsp013:/home/therter set | grep TERM
TERM=vt100
stnsp013:/home/therter uname -a
Linux stnsp013 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004 i686 i686
i386 GNU/Linux
What terminal
On Fri, 25 Feb 2005, Dan Jacobson wrote:
man date and date --help have got to be kidding saying things like
-R, --rfc-2822
output RFC-2822 compliant date string
whereupon we have to go looking up what RFC-2822 compliant date
strings look like. Make sure to show what they
On Tue, 1 Mar 2005, Kenny Stauffer wrote:
The command date -d a produces Mon Feb 28 20:00:00 EST 2005 when
localtime is Tue Mar 1 22:55 2005. date -d aa complains that aa is
an invalid date. In fact, any single letter except j is a valid date.
Is this a bug, or do I gravely misunderstand date's
On Wed, 9 Mar 2005, Paul Riggs wrote:
Is the sort command supposed to be case-sensitive?
[snip]
Short answer: sort sorts by whatever order the configured locale
requires.
Please see the FAQ Sort does not sort in normal order:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html
On Thu, 7 Apr 2005, G. Vamsee Krishna wrote:
Would be nice though if it says that `rm' does the same thing to
directories too. I still remember using `rmdir' on an empty directory
about 2 years ago when I started using GNU/Linux.
rmdir can still be useful as a less-dangerous alternative to rm
On Thu, 7 Apr 2005, r3b3l wrote:
Hi! I would like to know if this i encountered is really a bug or i'm i
just doing something wrong? i'm kind off a newbie with linux, so sory
if i ask some silly question or if i am just doing it all wrong. I am
running mandrake linux 10.1 and the pwd --version
On Mon, 18 Apr 2005, Anquijix Schiptara wrote:
I often use tail to see, what's being logged. After tail is runnin a while,
it doesnt update the output anymore and I have to restart the command.
Whats the reason?
The logfile is being rotated, and you didn't use tail's -F flag?
Cheers,
Phil
On Fri, 22 Apr 2005, Bastiaan Naber wrote:
The sun program uses sort (sort - GNU textutils 1.14). However I have a
different version of sort on the linux machine (sort (coreutils) 5.2.1).
My problem is that these different versions sort my text differently. This is
not really a problem however
On Wed, 27 Apr 2005, Dan Jacobson wrote:
seq should have some more options so one wouldn't have to use sed here:
$ seq 0 10 100|sed 1d
I think seq 10 10 100 will give the same result.
Cheers,
Phil
___
Bug-coreutils mailing list
On Thu, 28 Apr 2005, Rcipapo wrote:
I got Argument list too long error when I try to chmod 0600 * a /Maildir
which contains thousands of files. How to do?
Read the FAQ?
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Argument-list-too-long
Cheers,
Phil
On Mon, 9 May 2005, Adin Burroughs wrote:
OK, first off, I'm on Win32 (XP) using 5.3 of coreutils.
I have been knocking my head on this and I'm feeling *really* stupid.
I swear, I'm unix literate, but I can't seem to get the following to
work without cheating:
cp -uvp c:\dir with space\long
On Mon, 30 May 2005, Randy Forston wrote:
A fellow Ubuntu user on one of our lists ran uname -m on his AMD
motherboard/cpu combo and it returned i686.
Obviously, this is a k7 cpu.
Any chance the uname utility might be upgraded to appropriately label AMD
as well as Intel cpu's??
This string
On Wed, 1 Jun 2005, MandyMarko wrote:
expr 100 * 1
expr: Syntaxfehler
Syntaxerror ???
Where is the error ???
Is there an error in expr ???
Your shell is expanding the unquoted * in the current directory.
Try these:
$ expr 100 \* 1
$ echo expr 100 * 1
(to see what expr sees)
Cheers,
Phil
On Thu, 2 Jun 2005, James Youngman wrote:
I think the consensus is that the functionality belongs in sort.
Beyond that things are a bit less clear. However, Paul put forward a
proposed usage which adapts the current -k option (see
On Thu, 2 Jun 2005, Frederik Eaton wrote:
Phil Is it that the app must guarantee all lines of a
Phil non-seekable stdin must have an equal chance of any sort order?
See my comment to James above. I think one need not make this
guarantee, since only a tiny fraction of possible sort orders will be
On Mon, 13 Jun 2005, Paul Eggert wrote:
Gregory Butenko [EMAIL PROTECTED] writes:
Thanks, guys, for quick response.
I have found the solution at https://bugs.gentoo.org/show_bug.cgi?id=86857
That URL doesn't work for me right now; I can't connect (though I can
connect to gentoo.org). Perhaps
On Wed, 22 Jun 2005, david wrote:
The Touch command seems to have lost the -B option.
It was present in version 4.5.3, and is absent in 5.2.1
It is a very useful option, allowing me to set a timestamp that is, for
example, ten days old.
Is there some other way to do it?
See this thread from
On Sat, 25 Jun 2005, John J. Herda wrote:
I am trying to get an ASCII sort and am having great troubles and
frustration. It appears that there is no switch to force an ASCII
sort, only for other kinds of sorts. It appears that environment
variables: LC_ALL, LC_COLLATE, LC_CTYPE, and LANG all
On Tue, 19 Jul 2005, Bob Proulx wrote:
In general there are many possible ways for a program to fail.
Personally I believe that trying to enumerate all possible failures is
not a good way to do things because it is never good to try to
enumerate an unbounded set.
True, but perhaps a standard and
On Tue, 19 Jul 2005, Robert Easter wrote:
I just got into Linux this week.
Hi Robert,
I'm afraid you've picked a mailing list that is way off-topic for the
video/audio playback problems you're having.
Perhaps a Google search will turn up some more appropriate sites or
lists.
Cheers,
Phil
On Thu, 11 Aug 2005, Ivanova Crawford wrote:
From /etc/fstab
/dev/emcpowerb7 /u07ocfs _netdev
drwxrwxr-x1 500 oinstall 131072 Aug 10 16:41 u07
When I'm trying to issue the following command it doesn't let me:
[EMAIL PROTECTED] root]# chown
On Tue, 16 Aug 2005, Bruno Haible wrote:
[EMAIL PROTECTED]:~ $ ls -ld data
lrwxr-xr-x 1 bruno bruno 17 24 Aug 2004 data - /Volumes/UserData
[EMAIL PROTECTED]:/smb/ibook $ ls -ld data
drwxr-xr-x1 brunouser 4096 Aug 11 00:54 data
The mistake that 'df' did is: When it climbed
On Sun, 4 Sep 2005, Linda A. Walsh wrote:
Is find considered a core util? or where should I report a 'find' bug?
GNU find is not a coreutil. My local version suggests:
Report (and track progress on fixing) bugs via the findutils
bug-reporting page at http://savannah.gnu.org/ or, if you have no
[Interleaved mails and re-added bug-fileutils]
On Mon, 3 Oct 2005, Alan Perry wrote:
Here is the output:
statfs(/, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=9370890,
f_bfree=9315426, f_bavail=8839401, f_files=4767744, f_ffree=4753383,
f_fsid={-1073743148, 518}, f_namelen=255,
On Sat, 22 Oct 2005, Dave Richards wrote:
If you accidentally use unlink on a real file, it won't do anything to
it.
Not true. unlink is quite happy to delete real files; I'd even suggest
rm is safer, as it will prompt in certain circumstances where unlink
won't (--interactive or write-protected
On Wed, 9 Nov 2005, magesh sadagopan wrote:
When I try to use the split command directly from console its able to
split the file. But when tried through the scheduler, its not able to
split the file.
The error message which is generated is /usr/bin/split: arg list too
long
This is in the
On Mon, 14 Nov 2005, Dan Pothier wrote:
I have a small problem with df output on fedora fc4.. the results are
different than any other linux system I have encountered. It is
causing a problem with my system monitoring/graphing application,
since the output of df isn't consistent with the
On Mon, 21 Nov 2005, Michael J. Dinneen wrote:
Sort seems to ignore (incorrectly handle) the character '.' in the
strings.
Please see this FAQ entry, Sort does not sort in normal order!:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021
On Mon, 21 Nov 2005, kuldeep vyas wrote:
I'm using Redhat 9 (kernel 2.4.20-8 on i686)
I logged in as k(username), then I started terminal,
then I gave following commands:-
[snip]
kls /home/k/
// my_dir gone
kpwd
/home/k/my_dir
// oops!!
It's likely here that pwd is the shell's builtin
On Wed, 30 Nov 2005, Mark Frost wrote:
It appears that sort does not examine the proper fields specified by
'-k' unless the '-n' option is given.
It would be helpful to know which sort locale is in use here; I'll
assume it's en_US. Sort keys can be tricky, but I don't think any of the
On Wed, 7 Dec 2005, Vincent Chan wrote:
I have a bunched of files in a directory and there are a.avi and a.rar
in it. Inside the directory, there is also a directory called a. I
wanted to type mv a.* a. But instead I typed mv a.* by mistake. As
a result, I can't find the original a.rar
On Mon, 2 Jan 2006, William Johnson wrote:
I have run this script on my linux router and in cygwin.
In both cases, the date is changed from 2006 to 2005.
---
set Time_Stamp=01-Jan-2006 21:22:23
echo $Time_Stamp
set MyDate=`date --date=$Time_Stamp +%G-%m-%d %T %a`
echo $MyDate
---
The
On Sun, 8 Jan 2006, Nicolas Mailhot wrote:
The XML folks have defined a single common international date/time
format people can actually use :
http://www.w3.org/TR/NOTE-datetime
The W3 consortium has received a proposal, from Reuters, for a subset of
ISO 8601, which has been marked This
On Sun, 8 Jan 2006, David Highley wrote:
Is it in the plans for running the SHA2 tests to get the sha256sum
sha384sum and sha512sum programs listed as tested on the NIST site?
Probably not. I don't recall any mention of such validation in my time
following this mailing list, and there's
On Tue, 17 Jan 2006, Dirk Stoecker wrote:
So please tell me a way to use the sort program in contexts which
allow no environment variable settings. I will be happy to accept it.
I would cheekily point out that the reason you see the unwelcome sort
order in the first place is caused by an
On Sun, 22 Jan 2006, Sergio Nudelman wrote:
The translation from EBCDIC to ASCII depends on the code page. How this
is handled by dd?
Although I don't know much about EBCDIC handling and conversion, I think
this page answers your question:
On Tue, 31 Jan 2006, Com MN PG P E B Consultant 3 wrote:
From the grep man-page:
--include=PATTERN
Recurse in directories only searching file matching
PATTERN.
GNU grep is not a coreutil, so this isn't the best mailing list for grep
questions.
What type of PATTERN can
On Wed, 8 Feb 2006, Tom van Leeuwen wrote:
The man pages of the 'mv' command say that bugs can be reported to
this email address. I am running gentoo and I have coreutils version
5.93 installed.
I always used the command 'cp -g' and 'mv -g' because I like progress
bars. cp -g still works,
On Thu, 16 Feb 2006, P Kensche wrote:
I use 4.5.3 from coreutils 5.93 and have a problem with sort.
This is a common issue, due to certain locale settings which influence
sorting behaviour. Please see:
On Wed, 22 Feb 2006, sigbj-st wrote:
Running SCRIPTS as bash do not give off special letters for Norwegian
following the echo command.The letters will lack as holes.
echo will simply write back the arguments passed to it. If there's a
problem with certain characters, that sounds more like a
Why all the duplicate deliveries today?
Cheers,
Phil
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils
On Tue, 18 Apr 2006, Adam Waltman wrote:
k13 coreutils-5.94 # src/shred --remove --zero adam adam1
Segmentation fault
It seems that he shred itself is the culprit.
I have no real experience in programming in Linux,
but I have installed gdb and tried to squeeze something out of it
without any
On Mon, 17 Apr 2006, Bob Proulx wrote:
Good suggestion. But I think that needs another \n in the printf.
Doesn't it?
gdb -x ( printf run\nbt\nq\n ) --args src/shred --remove --zero adam adam1
It's certainly cleaner, but gdb on my system seems to cope without. I
tried it like this:
gdb
On Tue, 18 Apr 2006, Adam Waltman wrote:
So the tips how should I use gdb were really heplful.
Here is the output
k13 coreutils-5.94 # gdb -x ( printf run\nbt ) --args
src/shred --remove --zero adam adam1
[snip]
Program terminated with signal SIGSEGV, Segmentation fault.
The program no
[gdb displays nothing]
Or a sign that everything was configured with debug information
stripped and compilation took place with optimizations
Not on my machine...
$ cat segv.c
#include string.h
void main() {
memcpy(0, hello, 5);
}
$ gcc -O3 -o segv segv.c
segv.c: In function `main':
segv.c:2:
On Fri, 12 May 2006, Etcheverry, William (Bill) wrote:
comm -1 -3 File1 File2
...
components.applayer\osf\regtest\asc\comm\sat\rel99\4_12_1_osf.asc
components.applayer\osf\regtest\asc\comm\sat\rel99\4_12_3_osf.asc
...
Is there some sort of sort problem going on here?
Possibly. On my
On Mon, 19 Jun 2006, John Lange wrote:
Do you think it would be possible to add an entry to the tail man that
indicates you can use the + sign to start reading X number of lines from
the beginning.
It already has. On my system, the manpage for tail includes:
If the first character of N (the
On Tue, 11 Jul 2006, Behdad Esfahbod wrote:
This a bug report against fmt.
[EMAIL PROTECTED] test]$ fmt -w 12345
fmt: invalid width: `12345'
What I'm trying to achieve here is to unwrap lines, aka tr '\n' ' '
but using fmt. According to GNU Coding Standards, GNU tools should not
have hard
On Sat, 15 Jul 2006, Daniel wrote:
If I run md5sum on big files (700MB) it freezes the system. There are
no logs, no panic, nothing. It only shows the last screen.
This will be difficult to diagnose if the problem occurs only on your
system. Are you able to reproduce it on another computer?
On Sun, 16 Jul 2006, Guido Hochuli wrote:
I've got a Targa-PC with a Nvidia Gforce 6600GT graphiccard 64 Bit,
connected to a Targa 19-LCD-Monitor on DVI. Both from the lidl-Store
in Germany.
All running now on Ubuntu 6.06
I can only set 1024x768 and not the desired 1280x1024.
Unfortuately
On Tue, 18 Jul 2006, icewind wrote:
input: abc123abc
call: tr abc123abc -d '[^0-9]'
output:abcabc
regex-rule: ^ is for negating the match
output should be 123
(Please note - the bug-textutils address you mailed suggests that you
have a rather old version of tr. textutils, fileutils, and
On Mon, 31 Jul 2006, Vladislav ZItikis wrote:
I think, I find a bug in date calculations.
This is example for demonstration:
---
[EMAIL PROTECTED] date
Mon Jul 31 17:12:57 MSD 2006
[EMAIL PROTECTED] date -d 1 month ago +%m
07
[EMAIL
On Thu, 3 Aug 2006, Christian Hoffmann wrote:
[EMAIL PROTECTED]:~ $ date -d 2006-08-07 +230 days
Sa Mär 24 23:00:00 CET 2007
[EMAIL PROTECTED]:~ $ date -d 2006-08-07 +231 days
Mo Mär 26 00:00:00 CEST 2007
Sunday is missing
Notice that in your configured timezone, the DST offset changes
On Fri, 4 Aug 2006, Helge Hafting wrote:
I noticed that the true and false programs are somewhat
bloated, on i386 they need 3 4k-pages of code when the trivial
implementation in the subject line only need one.
[snip]
I can only guess that someone is trying to standardize the
use of --help
On Sat, 5 Aug 2006, Lum wrote:
I see you can use b to get an abbreviated month such as Aug but how do I get
it in upper case (AUG)?
Not directly, but you could pipe the output through something like:
$ date +%b | tr '[:lower:]' '[:upper:]'
AUG
On Solaris is there a utility to get
Hello,
You sent mail to bug-sh-utils, which has been deprecated for some time.
bug-coreutils is now the appropriate address for coreutils bug reports.
On Thu, 7 Sep 2006, [EMAIL PROTECTED] wrote:
The command, who
when used with any two arguments like
who am am...
displays the result of who
On Fri, 8 Sep 2006, Steven Fishback wrote:
[snip]
# df -h
FilesystemSize Used Avail Use% Mounted on
/dev/md1 4.8G 3.2G 1.3G 72% /
/dev/md0 46M 22M 23M 49% /boot
none 2.0G 0 2.0G 0% /dev/shm
/dev/md4 25G 72K
On Mon, 2 Oct 2006, Doug McLaren wrote:
Right now, the best way to do what I'm referring to is something like
this --
find /directory -type d -print0 | xargs --no-run-if-empty -0 chmod 755
find /directory '!' -type d '!' -type l -print0 | \
xargs --no-run-if-empty -0 chmod 644
If
On Fri, 27 Oct 2006, [EMAIL PROTECTED] wrote:
Hi, I downloaded the Morphix LiveCD with LightGUI and burned it, but
it does not load right.
Unfortunately this is not the right mailing list for Morphix. I'd
suggest looking on the product's website, or trying your favourite
search engine.
On Mon, 6 Nov 2006, Roberto Piola wrote:
I was trying to use df in scripts.
Since LVM introduces very long device names, the column with usage% was
floating, so, I modified a little the df utility, by adding the -q switch,
that forces a very small output, without header and with just two
[ dropping [EMAIL PROTECTED] due to bounced mail ]
On Mon, 6 Nov 2006, Roberto Piola wrote:
Philip Rowlands wrote:
On Mon, 6 Nov 2006, Roberto Piola wrote:
I was trying to use df in scripts.
Since LVM introduces very long device names, the column with usage% was
floating, so, I
On Mon, 11 Dec 2006, [EMAIL PROTECTED] wrote:
A very odd bug, when a call the comand:
date --date=2006-10-15
this give me a invalid date.
This happens only in that specific date 2006-10-15, very strange. Look
below.
I assume from your email address and BRT timezone that you're in the
On Fri, 12 Jan 2007, Lise Slama wrote:
When I do
rm --recursive --verbose a.out
or more generally when I use rm -R, it only deletes the corresponding files
in the current directory.
rm will only delete the filename specified to it. If one of those files
is a directory and --recursive
On Thu, 18 Jan 2007, Jim Meyering wrote:
I've done some more timings, but with two more sizes of input.
Here's the summary, comparing straight sort with sort --comp=gzip:
2.7GB: 6.6% speed-up
10.0GB: 17.8% speed-up
It would be interesting to see the individual stats returned by wait4(2)
On Thu, 18 Jan 2007, Jim Meyering wrote:
I had to use seq -f %.0f to get this filesize.
Odd.
Here's what those generate for me:
$ seq 999 k
$ wc -c k
7888
$ tail -1 k
999
What happens differently for you?
$ seq 990 999
9.9e+06
9.9e+06
9.9e+06
On Fri, 19 Jan 2007, Suresh Kumar Papneja, Noida wrote:
While executing df -kP or df command, the system will go in wait
state until forcefully kill by ctrl+c,
It's likely that an NFS mount is hanging in the statfs call. You should
be able to see this by running df under strace.
$ strace
On Fri, 2 Feb 2007, Bauke Jan Douma wrote:
Reminds me of something. This is largely off-topic, but does anyone
know of a utility FOO that takes a path or file as input an outputs a
full, absolute, rooted path?
readlink -f sounds close to what you want.
Cheers,
Phil
On Mon, 19 Feb 2007, Harvey Eneman wrote:
I've experienced an issue with the env implementation due to its modification
of the environ external variable:
/* If no program is specified, print the environment and exit. */
if (argc = optind)
{
while (*environ)
puts
On Wed, 21 Feb 2007, Miroslaw Kozielski wrote:
I think I found a bug in 'uniq' command. I have a text file: bla.txt
/ [EMAIL PROTECTED]:~/tmp$ cat bla2
ba111.
ba112.
bs112.
bm123.
ba123.
ba111.
/After use option - c ( recede each output line with a count of the number of
times the line
On Wed, 21 Feb 2007, Rajeswar wrote:
Currently IF you want to list only the directories ( as a ls command )
or only interested in the directory structure ( tree ),
There is no option in ls.
ls has to be enhanced with some e flag so that the following
scenarios are supported.
1. This
On Mon, 26 Feb 2007, Francky Leyn wrote:
when you do ls -l -h one sometimes encounters files which have kilo
size. ls -l -h then uses K to display this. This is wrong and
unallowable. It must be k. You don't have a choice: it is
standarised by the SI system as k. See for example
(re-adding bug-coreutils - please keep discussion on-list)
On Mon, 26 Feb 2007, Francky Leyn wrote:
If you prefer SI-formatted output, the --si option is probably the right
choice, and does what you request.
Implementing this as an option is...
The default should be SI.
M$ also uses K.
(re-adding bug-coreutils again)
On Mon, 26 Feb 2007, Francky Leyn wrote:
[snipped]
But that's not quite your point (that K is never desirable). K in
the displayed -h output represents a kibi-, symbol Ki (see
lib/human.c), truncated. Arguably this isn't perfect, but it seems a
step in the
(re-adding bug-coreutils again)
On Mon, 26 Feb 2007, Francky Leyn wrote:
http://physics.nist.gov/cuu/Units/binary.html specifies Ki as the symbol
for kibi-.
Is this NIST standard acknowledged by ISO, ANSI or others?
From the webpage: The complete citation for this revised standard is
IEC
On Fri, 16 Mar 2007, Ekanayake, Sumith wrote:
Let give you the trace and the vers...
[EMAIL PROTECTED] ~]$ strace cp -p c d
execve(/bin/cp, [cp, -p, c, d], [/* 52 vars */]) = 0
[ snip unnecessary output ]
lstat64(d, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
This isn't quite clear from
On Fri, 6 Apr 2007, James Youngman wrote:
With help from Justin Baugh, I have now set up the
bug-obsolete-packages mailing list. It functions as an autoresponder
for mail sent to bug-sh-utils, bug-textutils and bug-fileutils. The
point of doing this is that anybody using those mailing list
On Mon, 9 Apr 2007, Micah Cowan wrote:
In the Ubuntu bugtracker, Malone, we've been getting several submissions of an
issue, usually phrased along the lines of cp dumps core on copy
of 4GB file to vfat (or usb), etc. See
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/75574
If
On Mon, 9 Apr 2007, Micah Cowan wrote:
Users report having this problem when they copy to (e.g.) vfat
systems, but not ext3, so it seems to be FS-related. Even if it did
turn out to be usage limit, I would think the problem would be the
same: it's much more useful (IMO) to issue a diagnostic
On Wed, 2 May 2007, Peter Eckersley wrote:
I was wondering if you would consider reducing the number of default
overwrites for shred from 25 to something more like 5?
The first question which comes to mind is why 25?
From the first version which I can find:
On Fri, 4 May 2007, Paul Eggert wrote:
Anyway, 'shred' currently does the first, but not the second, as it
doesn't verify what it's written. That should get fixed, no?
Is there a way to ensure reading directly from disk? On Linux I see only
a whole-system, root-level way to drop cached
On Fri, 18 May 2007, Jean-Pierre Vial wrote:
When one wants to sort a file in which letters are just codes, not
meaningfull words, the sort order obtained through LC_COLLATE is very
often inadequate. The help suggest to set LC_ALL=C, but this is
often inadequate as well in complcated shell
1 - 100 of 233 matches
Mail list logo