bug#69488: tr (question)

2024-03-04 Thread lacsaP Patatetom
Le ven. 1 mars 2024 à 20:30, Pádraig Brady a écrit : > On 01/03/2024 15:33, lacsaP Patatetom wrote: > > hi, > > > > I did a few tests with tr and I'm surprised by the results... > > > > $ echo éèçà > > éèçà > > > > these characters are encoded in utf-8 on 2 bytes : > > > > $ echo éèçà | xxd > > 0

bug#69488: tr (question)

2024-03-01 Thread Pádraig Brady
On 01/03/2024 15:33, lacsaP Patatetom wrote: hi, I did a few tests with tr and I'm surprised by the results... $ echo éèçà éèçà these characters are encoded in utf-8 on 2 bytes : $ echo éèçà | xxd : c3a9 c3a8 c3a7 c3a0 0a . now I use tr to remove non-printab

bug#69488: tr (question)

2024-03-01 Thread lacsaP Patatetom
hi, I did a few tests with tr and I'm surprised by the results... $ echo éèçà éèçà these characters are encoded in utf-8 on 2 bytes : $ echo éèçà | xxd : c3a9 c3a8 c3a7 c3a0 0a . now I use tr to remove non-printable characters : $ echo éèçà | tr -cd '[:print:

bug#58881: Question: df Size

2022-10-29 Thread Paul Eggert
On 2022-10-29 12:31, linux wrote: Can you write in " man " why df shows different result than lsblk ? Not easily, as that depends on the internals of the filesystem, which is out of coreutils's control and/or view. df is simply repeating what the kernel reports about the filesystem. If the

bug#58881: Question: df Size

2022-10-29 Thread linux
{ $ LC_ALL='C' ./df -h  /dev/sda2 Filesystem  Size  Used Avail Use% Mounted on /dev/sda2   101G   21G   75G  22% / } { $ LC_ALL='C' lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT /dev/sda2 NAME FSTYPE   SIZE MOUNTPOINT sda2 ext4    102.4G /

bug#50797: Question about whether Korean translation can be applied into version 9.0 or not

2021-09-26 Thread Seong-ho Cho
2021년 9월 25일 (토) 오후 7:54, Pádraig Brady 님이 작성: > On 25/09/2021 07:45, Seong-ho Cho wrote: > > Many thanks in advance, > > > > I have submitted a brand-new Korean translation via > translationproject.org > > and I also sent before for version 8.31.90 lately. > > our translation team did not manage

bug#50797: Question about whether Korean translation can be applied into version 9.0 or not

2021-09-25 Thread Pádraig Brady
On 25/09/2021 07:45, Seong-ho Cho wrote: Many thanks in advance, I have submitted a brand-new Korean translation via translationproject.org and I also sent before for version 8.31.90 lately. our translation team did not manage the translation of coreutils before, due to huge changes of translati

bug#50797: Question about whether Korean translation can be applied into version 9.0 or not

2021-09-24 Thread Seong-ho Cho
Many thanks in advance, I have submitted a brand-new Korean translation via translationproject.org and I also sent before for version 8.31.90 lately. our translation team did not manage the translation of coreutils before, due to huge changes of translation strings. I cleaned this issue half a yea

bug#38082: 'tr' question passing tr delete chars argument coded in hex into script as $varable

2019-11-05 Thread Owen Townsend
To: bug-coreutils.org From: Owen Townsend, o...@uvsoftware.ca Date: Nov.05/2019 Subject: 'tr' question passing tr delete chars argument coded in hex into script as $varable I am attaching 2 scripts renameLNX & renameLNX1 renameLNX  - delete characters hard-coded on tr - works

bug#35167: About chroot some question on centos6 kernel:

2019-04-21 Thread Bob Proulx
close 35167 thanks Hello 往事随风, 往事随风 wrote: > OS centos6.10 > kernel vmlinuz-2.6.32-754.el6.x86_64 > hello! > grub-install in a new disk /mnt/boot;copy /bin/bash and *.so ; chroot > /mnt/sysroot is ok!exit and ctrl+d Sounds like 'chroot' worked correctly in the above sequence. > use the new di

bug#35167: About chroot some question on centos6 kernel:

2019-04-05 Thread 往事随风
OS centos6.10 kernel vmlinuz-2.6.32-754.el6.x86_64 hello! grub-install in a new disk /mnt/boot;copy /bin/bash and *.so ; chroot /mnt/sysroot is ok!exit and ctrl+d use the new disk startup, "dracut warning can't mount root filesystemmount :/dev/sda3 already mounted or /sysroot busy mount: accordi

bug#31912: Question for David MacKenzie - why an mkdir has no silent mode (-f key) like a chmod?

2018-06-21 Thread Paul Eggert
On 06/20/2018 04:18 AM, bgv@gmail.com wrote: A simple question for David MacKenzie - why an mkdir has no silent mode (-f key) like a chmod? David MacKenzie left the building long ago. It sounds like you're looking for 'mkdir -p'. If not, you can just ignore mkdir&#x

bug#31912: Question for David MacKenzie - why an mkdir has no silent mode (-f key) like a chmod?

2018-06-21 Thread Eric Blake
tag 31912 notabug thanks On 06/20/2018 06:18 AM, bgv@gmail.com wrote: Hi, A simple question for David MacKenzie - why an mkdir has no silent mode (-f key) like a chmod? I'm not David (and it's been a while since he's posted anything to this list anyway), but thanks to

bug#31912: Question for David MacKenzie - why an mkdir has no silent mode (-f key) like a chmod?

2018-06-20 Thread bgv.hce
Hi, A simple question for David MacKenzie - why an mkdir has no silent mode (-f key) like a chmod? Bye. Gennady Baranov, Technical director, Senior engineer IOIX UA http://ioix.com.ua/ Head of HCE project

bug#21636: a question of the “wc” program

2015-10-06 Thread Stephane Chazelas
2015-10-06 10:01:15 -0600, Eric Blake: > tag 21636 notabug > thanks > > On 10/06/2015 04:49 AM, JameDam wrote: > > I have a file which is named *“-l”*, and I use the wc to count the file, > > undesirably wc requested the standard input rather than my file *"-l"* > > ,although > > I use it throu

bug#21636: a question of the “wc” program

2015-10-06 Thread Eric Blake
tag 21636 notabug thanks On 10/06/2015 04:49 AM, JameDam wrote: > I have a file which is named *“-l”*, and I use the wc to count the file, > undesirably wc requested the standard input rather than my file *"-l"* > ,although > I use it through the command > */wc -lw -l/* Try either of: wc -lw

bug#21636: a question of the “wc” program

2015-10-06 Thread JameDam
 I have a file which is named “-l”, and I use the wc to count the file, undesirably wc requested the standard input rather than my file "-l" ,although I use it through the commandwc -lw -lit didn't work as my will, however, linux itself do not limit this kind of name style, but wc does, so unreason

bug#17017: Fw: sort program question my error

2014-03-15 Thread Bob Proulx
forcemerge 17016 17017 close 17016 thanks Leslie S Satenstein wrote: > >My first posting. Welcome to the community! Let me gently nudge you to use the coreut...@gnu.org mailing list for questions and discussion. Sending bug reports to the bug-coreutils address opens a bug ticket for each new me

bug#17017: Fw: sort program question my error

2014-03-15 Thread Leslie S Satenstein
rom: Leslie S Satenstein >To: "bug-coreutils@gnu.org" >Sent: Saturday, March 15, 2014 8:52 AM >Subject: sort program question -- bug with program, or documentation or my >misunderstanding > > > >Hi >My first posting. > > >I believe there is an omission i

bug#17016: sort program question -- bug with program, or documentation or my misunderstanding

2014-03-15 Thread Leslie S Satenstein
Hi My first posting. I believe there is an omission in man pages for the sort in the Description area section.  One cannot successfully use -d or without including -f on the line. Refer to  man sort under Description  -d, --dictionary-order   consider only blanks and alphanumeric cha

bug#13665: Question about the translation of double_to_human

2013-02-11 Thread Assaf Gordon
Pádraig Brady wrote, On 02/09/2013 02:26 PM: > On 02/09/2013 06:42 PM, Göran Uddeborg wrote: >> I started the translation of coreutils 8.20-pre2 which just arrived >> via the Translation Project. I got a bit uncertain about messages >> like: >> >> msgid "" >> "simple_strtod_human:\n" >>

bug#13665: Question about the translation of double_to_human

2013-02-10 Thread Pádraig Brady
On 02/10/2013 05:15 PM, Bernhard Voelker wrote: On 02/10/2013 05:28 PM, Pádraig Brady wrote: I've cleaned this up in the attached so that both use the same method to output the messages, and both now enable these messages with the the same ---debug option. Also translations are removed from thes

bug#13665: Question about the translation of double_to_human

2013-02-10 Thread Bernhard Voelker
On 02/10/2013 05:28 PM, Pádraig Brady wrote: > I've cleaned this up in the attached so that both use the same > method to output the messages, and both now enable these messages > with the the same ---debug option. > Also translations are removed from these messages, > and a syntax check added to s

bug#13665: Question about the translation of double_to_human

2013-02-10 Thread Pádraig Brady
On 02/09/2013 08:45 PM, Paul Eggert wrote: On 02/09/2013 11:26 AM, Pádraig Brady wrote: These are function names and not to be translated. These are "developer debug" strings, which I'm tempted to remove entirely. Certainly "simple_strtod_human:\n" should not be translated, as it's referring t

bug#13665: Question about the translation of double_to_human

2013-02-09 Thread Paul Eggert
On 02/09/2013 11:26 AM, Pádraig Brady wrote: > These are function names and not to be translated. > These are "developer debug" strings, which I'm tempted to remove entirely. Certainly "simple_strtod_human:\n" should not be translated, as it's referring to the identifier. Since the source code is

bug#13665: closed (Re: bug#13665: Question about the translation of double_to_human)

2013-02-09 Thread Göran Uddeborg
Thanks!

bug#13665: Question about the translation of double_to_human

2013-02-09 Thread Pádraig Brady
On 02/09/2013 06:42 PM, Göran Uddeborg wrote: I started the translation of coreutils 8.20-pre2 which just arrived via the Translation Project. I got a bit uncertain about messages like: msgid "" "simple_strtod_human:\n" " input string: '%s'\n" " locale decimal-point: '%s'\

bug#13665: Question about the translation of double_to_human

2013-02-09 Thread Göran Uddeborg
I started the translation of coreutils 8.20-pre2 which just arrived via the Translation Project. I got a bit uncertain about messages like: msgid "" "simple_strtod_human:\n" " input string: '%s'\n" " locale decimal-point: '%s'\n" and msgid "double_to_human:\n" Is "simple_

bug#7638: question about make link issue

2011-11-13 Thread Jim Meyering
tags 7638 notabug close 7638 thanks Eric Blake wrote: > [please keep the list in the loop] > > On 12/14/2010 10:09 PM, Yixuan Huang wrote: >> Dear Eric, >> Thanks for your response. >> I ran ln on sles11 x64, and mount windos shared folder through mount -t cifs. >> My scripts will do ln -s xx xx.s

bug#7638: question about make link issue

2010-12-15 Thread Eric Blake
[please keep the list in the loop] On 12/14/2010 10:09 PM, Yixuan Huang wrote: > Dear Eric, > Thanks for your response. > I ran ln on sles11 x64, and mount windos shared folder through mount -t cifs. > My scripts will do ln -s xx xx.so, so it will report error and said like: > tar: pegasus/lib/lib

bug#7638: question about make link issue

2010-12-14 Thread Eric Blake
On 12/14/2010 07:11 AM, Yixuan Huang wrote: > Hello, > When I try to make link on partition which mount from windwos through > cifs. It will be prompt like: > ln: creating symbolic link `aa.lnk': Operation not supported > > Do we have any work around method to get it work if I want to make link on

bug#7638: question about make link issue

2010-12-14 Thread Yixuan Huang
Hello, When I try to make link on partition which mount from windwos through cifs. It will be prompt like: ln: creating symbolic link `aa.lnk': Operation not supported Do we have any work around method to get it work if I want to make link on it? Thanks, yixuan

bug#6700: Sort question

2010-07-22 Thread Eric Blake
tags 6700 +notabug thanks [re-adding the list] On 07/22/2010 09:09 AM, shtegtari wrote: > Thank you very much! Your response saved my hair from being pulled. It was > the LC_ALL. Closing this bug report, then. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization libr

bug#6700: Sort question

2010-07-22 Thread Bob Proulx
tags 6700 +moreinfo thanks shtegtari wrote: > I have a text file that I can not sort correctly with the sort command, > no matter what switch I use. I would send it but wanted to see first > whether anyone reads this email. > > Please respond and I will send the file. Yes, people do read this

bug#6700: Sort question

2010-07-22 Thread Eric Blake
On 07/21/2010 10:46 PM, shtegtari wrote: > I have a text file that I can not sort correctly with the sort command, > no matter what switch I use. I would send it but wanted to see first > whether anyone reads this email. It's hard to tell you what you are doing wrong if you don't provide the comm

bug#6700: Sort question

2010-07-22 Thread Gilles Espinasse
- Original Message - From: "shtegtari" To: <6...@debbugs.gnu.org> Sent: Thursday, July 22, 2010 6:46 AM Subject: bug#6700: Sort question > I have a text file that I can not sort correctly with the sort command, no > matter what switch I use. I would send it b

bug#6700: Sort question

2010-07-22 Thread shtegtari
I have a text file that I can not sort correctly with the sort command, no matter what switch I use. I would send it but wanted to see first whether anyone reads this email. Please respond and I will send the file. Florent

bug#6485: i have one question?

2010-06-21 Thread Bob Proulx
retitle 6485 Days Between Dates? How? thanks upload amritsar wrote: > can you plese tell me what is the procedure or command to find the days > between two date If you would be so kind could you in the future address these types of questions to coreut...@gnu.org instead of bug-coreutils? The bu

bug#6485: i have one question?

2010-06-21 Thread upload amritsar
Hi, Good Morning can you plese tell me what is the procedure or command to find the days between two date supoose we have 2 date first one 01-01-2008 second one 21-06-2010 then how can we calculate days between these two date . Regards, Deepak +91-9988049558 "The information contained in this

Re: Question about adding a tiny tool into GNU coreutils

2010-01-07 Thread C de-Avillez
On 01/07/10 15:36, Bob Proulx wrote: > Does it really belong in coreutils installed on every computer in the > known universe? I don't think my GNU toaster needs it. So I would > vote against putting it in coreutils. It would be fine in a different > project package however. This doesn't feel l

Re: Question about adding a tiny tool into GNU coreutils

2010-01-07 Thread Bob Proulx
C de-Avillez wrote: > Daniel Borkmann wrote: > > ..., I was wondering if it's really only a developer tool? Aren't > > there enough programs out there that do not ever print their > > errors correctly? No question that this would be a bad style, but > > nev

Re: Question about adding a tiny tool into GNU coreutils

2010-01-07 Thread C de-Avillez
print their errors correctly? > No question that this would be a bad style, but nevertheless, it > isn't rarely. > Indeed. I usually float between different customers, with different *IX brands -- of course, not all of them use coreutils, but that's life. Not all of them deploy P

Re: Question about adding a tiny tool into GNU coreutils

2010-01-07 Thread Daniel Borkmann
.. >>> Thanks for the suggestion, but it seems better to >>> do that with some shell and perl: >> regardless if it's written in C, shell+perl or any other language, >> it's still the same question IMHO: should it go into coreutils? >> >> +1 from me (

Re: Question about adding a tiny tool into GNU coreutils

2010-01-07 Thread Jim Meyering
ems better to >> do that with some shell and perl: > > regardless if it's written in C, shell+perl or any other language, > it's still the same question IMHO: should it go into coreutils? > > +1 from me (for the C alternative, no deps to shell/perl etc.). Sorry, bu

RE: Question about adding a tiny tool into GNU coreutils

2010-01-07 Thread Voelker, Bernhard
and perl: regardless if it's written in C, shell+perl or any other language, it's still the same question IMHO: should it go into coreutils? +1 from me (for the C alternative, no deps to shell/perl etc.). Have a nice day, Berny

Re: Question about adding a tiny tool into GNU coreutils

2010-01-06 Thread Pádraig Brady
On 06/01/10 20:02, Jim Meyering wrote: Daniel Borkmann wrote: I was wondering if it's possible to add a tiny little program (next to true and false ;) ) into the gnu coreutils package? The program I've written is called "errno" and does nothing less than writing an error string according to the

Re: Question about adding a tiny tool into GNU coreutils

2010-01-06 Thread Jim Meyering
Daniel Borkmann wrote: > I was wondering if it's possible to add a tiny little program (next to > true and false ;) ) into the gnu coreutils package? The program I've > written is called "errno" and does nothing less than writing an error > string according to the user-specified error number. > > V

Question about adding a tiny tool into GNU coreutils

2010-01-06 Thread Daniel Borkmann
Dear Coreutils team, I was wondering if it's possible to add a tiny little program (next to true and false ;) ) into the gnu coreutils package? The program I've written is called "errno" and does nothing less than writing an error string according to the user-specified error number. Very often, p

Re: git version and automake 1.10b question

2009-04-02 Thread Jim Meyering
Eric Blake wrote: > Wrong patch? definitely ;-) thanks ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: git version and automake 1.10b question

2009-04-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 4/2/2009 5:44 AM: >> git checkout -b next --track origin/next > > Thanks. > How about this? > >>From b1332b9b429dfa9a8bba7286a78bbc7e37a2e419 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Thu, 2 Apr 2009 12:35:08

Re: git version and automake 1.10b question

2009-04-02 Thread Jim Meyering
Pádraig Brady wrote: > Jim Meyering wrote: > >> diff --git a/README-prereq b/README-prereq >> -$ cd automake && ./configure --prefix=$HOME/coreutils/deps >> +$ cd automake >> +$ git checkout --track origin/next -b next >> +$ ./configure --prefix=$HOME/coreutils/deps > > I needed to

Re: git version and automake 1.10b question

2009-04-02 Thread Pádraig Brady
Jim Meyering wrote: > diff --git a/README-prereq b/README-prereq > -$ cd automake && ./configure --prefix=$HOME/coreutils/deps > +$ cd automake > +$ git checkout --track origin/next -b next > +$ ./configure --prefix=$HOME/coreutils/deps I needed to switch the git checkout paramete

Re: git version and automake 1.10b question

2009-04-02 Thread Jim Meyering
hggdh wrote: ... > Thank you, both Eric and Andreas. > > I guess, then, it would be correct to update the references to > automake in README-{prereq|hacking}, and to update bootstrap.conf. > > Patch attached. Please keep in mind this is my first one following the > rules -- I may have made some mis

Re: git version and automake 1.10b question

2009-04-01 Thread hggdh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 01 Apr 2009 08:01:57 -0600 Eric Blake wrote: > automake.git has multiple branches. Right now, the master branch is > stuck at 1.10a, but Ralf will be fixing that in the future. But the > next branch is at 1.10c (post-release). You probabl

Re: git version and automake 1.10b question

2009-04-01 Thread Andreas Schwab
hggdh writes: > Where is automake 1.10b to be found? You'll have to check out the "next" branch to get 1.10b (or rather 1.10c). 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 differen

Re: git version and automake 1.10b question

2009-04-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to hggdh on 4/1/2009 7:37 AM: > Hi, > > I am confused: I just tried to build current GIT and, while > running ./bootstrap I got the following error: > > ./bootstrap: automake --add-missing --copy --force-missing ... > configure.ac:35: requi

git version and automake 1.10b question

2009-04-01 Thread hggdh
Hi, I am confused: I just tried to build current GIT and, while running ./bootstrap I got the following error: ./bootstrap: automake --add-missing --copy --force-missing ... configure.ac:35: require Automake 1.10b, but have 1.10a Now, I *am* automake GIT up-to-date, and a just built automake is

Re: Question on sort

2009-01-29 Thread Jim Meyering
Glen Lenker wrote: > I noticed that 'avoid_trashing_input' only avoids trashing the first > input file that matchs the output file. Should sort only protect the > people who shoot themselves in the foot once, but not twice or more? Hi Glen, It seems to be testing each input file. If you have fou

Question on sort

2009-01-26 Thread Glen Lenker
I noticed that 'avoid_trashing_input' only avoids trashing the first input file that matchs the output file. Should sort only protect the people who shoot themselves in the foot once, but not twice or more? -- Glen Lenker ___ Bug-coreutils mailing lis

Re: [coreutils] A simple "du /" question

2008-08-14 Thread Bob Proulx
Michel Briand wrote: > this may not be a bug. Please pardon for any annoyance, but this > question is not visibly treated in FAQ. > > I wonder why, when I use "du /" (as root), it reports errors like this: Look at the documentation for the 'du -x' option.

[coreutils] A simple "du /" question

2008-08-14 Thread Michel Briand
Hello, this may not be a bug. Please pardon for any annoyance, but this question is not visibly treated in FAQ. I wonder why, when I use "du /" (as root), it reports errors like this: du: cannot access `./proc/4607': No such file or directory du: cannot access `.///': No su

Re: Question

2008-06-04 Thread Bob Proulx
Rémy DEJARDIN wrote: > Je suis un relativement nouvel utilisateur de UBUNTU, et j'en suis > ravi. Mais un problème : j'ai des applications que je ne peux > lancer : exemple k3b et Mondo. Pourtant j'en aurais bien besoin car > je voudrais créer une image de ubuntu 7.10 avant d'installer 8.04. > Po

Question

2008-06-04 Thread Rémy DEJARDIN
Bonjour, Je suis un relativement nouvel utilisateur de UBUNTU, et j'en suis ravi. Mais un problème : j'ai des applications que je ne peux lancer : exemple k3b et Mondo. Pourtant j'en aurais bien besoin car je voudrais créer une image de ubuntu 7.10 avant d'installer 8.04. Pouvez vous me dire p

Re: Question about dd

2007-11-30 Thread Pádraig Brady
Castor, David A Capt MNF-I JNCC-I Centaf LNO wrote: > Regarding the dd tool, the man page seems to be lacking information > about how noerror handles a read errors when encountered...does dd drop > the entire block of data? does it pad the output to compensate for the > unreadable data? I don't th

Question about dd

2007-11-30 Thread Castor, David A Capt MNF-I JNCC-I Centaf LNO
Regarding the dd tool, the man page seems to be lacking information about how noerror handles a read errors when encountered...does dd drop the entire block of data? does it pad the output to compensate for the unreadable data? Thanks for your help, DAVID A. CASTOR, Capt, USAF JNCC-I CENTAF LNO

Re: question

2007-07-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to shravan on 7/6/2007 1:56 AM: > dear sir/madam > > i have deleted the file from terminal using the command 'rm' now i want to > recover the file how it is possible Hope you had a backup. While recovering files is sometimes possible, it

question

2007-07-06 Thread shravan
dear sir/madam i have deleted the file from terminal using the command 'rm' now i want to recover the file how it is possible plz let me as early as possible from shravan ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mai

Re: Question

2007-03-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 3/22/2007 1:52 AM: > My name is Angga Lingga. > I from Indonesia. I want to ask you about command TTY in your > description in Linux. Please reply my e-mail. Could you explain it more > detail for me! Y

Question

2007-03-22 Thread if06044
My name is Angga Lingga. I from Indonesia. I want to ask you about command TTY in your description in Linux. Please reply my e-mail. Could you explain it more detail for me! Thank you very much for your attention. Salam saya, Angga Lingga Politeknik Informatika Del ---

Re: a question on du.c and df.c rather than a statement of a bug

2007-03-14 Thread Eric Blake
ted to extract the > output directly from du "as is". the question is if you can easily > identify some pitfalls in using the 2 sources in parallel. > > i will look into coreutils. however since the 2 applications where > designed separately as you say i feel the problems

Re: a question on du.c and df.c rather than a statement of a bug

2007-03-14 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to )\(@sS on 3/14/2007 6:47 AM: ^^ Your preferred name is awkward; you should enclose it in "" so that email clients don't choke on it. > Hello there, > i am trying to use both the du functionality and the df one in my code

a question on du.c and df.c rather than a statement of a bug

2007-03-14 Thread )\\(@sS
Hello there, i am trying to use both the du functionality and the df one in my code in order to do some memory management. basically i have generated the object files df.o and du.o from the corresponding du.c and df.c that i got from the package fileutils-4.1 . of course, slight tweaking was nece

Re: dd question

2006-11-16 Thread Pádraig Brady
Peter Stuczynski wrote: > Hi, > > I'm new to linux and I have a 80Gig WD drive that's going bad. I purchased > another 80Gig WD drive and I'm using dd to try to transfer the information to > the new drive. I used: > > dd if=/dev/hda of=/dev/hdb conv=noerror > > It's been running

dd question

2006-11-15 Thread Peter Stuczynski
Hi, I'm new to linux and I have a 80Gig WD drive that's going bad. I purchased another 80Gig WD drive and I'm using dd to try to transfer the information to the new drive. I used: dd if=/dev/hda of=/dev/hdb conv=noerror It's been running for about 24 hours and now I am getting:

Re: size_t option parsing question

2006-09-28 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > xstrtoul is pretty nice! I'll leave it to you to decide how much of coreutils > is worth extending, but in deference to Jim trying to release, it is worth > holding off this task until after 6.3 is out. Thank you :) ___

Re: size_t option parsing question

2006-09-28 Thread Eric Blake
Paul Eggert CS.UCLA.EDU> writes: > > POSIX also states that size_t is only guaranteed to be 16 bits. > > Really? Where? http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html#tag_13_48 "The following macros specify the minimum and maximum limits of integer types corresponding t

Re: size_t option parsing question

2006-09-28 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > POSIX also states that size_t is only guaranteed to be 16 bits. Really? Where? Anyway, this is not an issue for coreutils, since the GNU coding standards say: However, don't make any effort to cater to the possibility that an @code{int} will be less

size_t option parsing question

2006-09-28 Thread Eric Blake
I'm trying to make m4 -l comply with POSIX guidelines for numeric argument parsing (for example, 'm4 -l a' should issue a complaint that 'a' is not numeric, although this is silently accepted in M4 1.4.7). I decided to turn to coreutils for inspiration. I noticed that various coreutils parse c

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Frederik Eaton
Thanks to everyone for the answers. Frederik On Tue, Aug 22, 2006 at 12:29:24PM -0700, Paul Eggert wrote: > Frederik Eaton <[EMAIL PROTECTED]> writes: > > > is there a reason why users wouldn't always want a "copyFile" > > function to remove the destination first? > > Lots and lots and lots of

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Paul Eggert
Frederik Eaton <[EMAIL PROTECTED]> writes: > is there a reason why users wouldn't always want a "copyFile" > function to remove the destination first? Lots and lots and lots of reasons. For example, the destination file might be read-only, and the user might want the copy to fail in that case.

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Bob Proulx
Frederik Eaton writes: > The question is, is there a reason why users wouldn't always want a > "copyFile" function to remove the destination first? It effectively resets all ACLs on the destination. Bob ___ Bug-coreutils maili

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Andreas Schwab
Frederik Eaton <[EMAIL PROTECTED]> writes: > The question is, is there a reason why users wouldn't always want a > "copyFile" function to remove the destination first? It breaks hard links. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Pro

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Jim Meyering
Frederik Eaton <[EMAIL PROTECTED]> wrote: ... > The question is, is there a reason why users wouldn't always want a > "copyFile" function to remove the destination first? Sometimes, cp --remove-dest will fail, because the destination cannot be removed. Yet cp without t

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Krasimir Angelov
On 8/22/06, Frederik Eaton <[EMAIL PROTECTED]> wrote: Perhaps the "Text file busy" error is Unix-specific, but I can imagine cases where somebody (other than the OS) might open a file with a well-known name and read from various parts of it, and expect it not to change underneath them... Then h

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Frederik Eaton
stuff, for > >example, since if an executable is running and we try to overwrite it > >then there is a "Text file busy" error. We could change the semantics > >to be the same as 'cp --remove-destination', i.e. unlinking > >pre-existing destination fi

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Eric Blake
emantics > to be the same as 'cp --remove-destination', i.e. unlinking > pre-existing destination files. cp follows POSIX semantics unless you add the flag --remove-destination. > > The question is, is there a reason why users wouldn't always want a > "copyFile&qu

Re: design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Krasimir Angelov
" error. We could change the semantics to be the same as 'cp --remove-destination', i.e. unlinking pre-existing destination files. The question is, is there a reason why users wouldn't always want a "copyFile" function to remove the destination first? If there is, the

design question, why not always use 'cp --remove-destination'?

2006-08-22 Thread Frederik Eaton
alling stuff, for example, since if an executable is running and we try to overwrite it then there is a "Text file busy" error. We could change the semantics to be the same as 'cp --remove-destination', i.e. unlinking pre-existing destination files. The question is, is there a reas

Re: Question about date

2006-08-05 Thread Philip Rowlands
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 yesterday's

Question about date

2006-08-05 Thread Lum
Hi, I see you can use b to get an abbreviated month such as Aug but how do I get it in upper case (AUG)? On Solaris is there a utility to get yesterday's date in formats 060805 and 20060805? I will be using it in a shell script. Thank you very much. Sincerely, Marg __

Re: Basic usage question involving "cut"

2006-08-02 Thread Bob Proulx
Linda Walsh wrote: > Don't know if this is the appropriate place for this, but if it > isn't possible, I could "suggest" that it might be considered a > bug or at least a "design deficiency". :-) > ... > What I don't know how to do is how to select a "whitespace" > delimited field. It's one of the

Re: Basic usage question involving "cut"

2006-08-01 Thread Pádraig Brady
Linda Walsh wrote: > Don't know if this is the appropriate place for this, but if it > isn't possible, I could "suggest" that it might be considered a > bug or at least a "design deficiency". :-) > > Something that's always bothered me about "cut". It seems it has > at least two ways to define fi

Basic usage question involving "cut"

2006-07-31 Thread Linda Walsh
Don't know if this is the appropriate place for this, but if it isn't possible, I could "suggest" that it might be considered a bug or at least a "design deficiency". :-) Something that's always bothered me about "cut". It seems it has at least two ways to define fields, that I'm aware of: defin

Re: Question about md5sum

2006-05-29 Thread Eric Blake
> I have a question about md5sum 5.2.1. 5.2.1 is several years old; I would consider upgrading. The latest stable version is 5.96, and a 5.97 will probably arrive within the next month or so. > For example, I'm in deirectory /home/arseny and I want to get hash of > file foo.bar. I

Question about md5sum

2006-05-29 Thread Arseny Solokha
Hello! I have a question about md5sum 5.2.1. For example, I'm in deirectory /home/arseny and I want to get hash of file foo.bar. I have to write md5sum /home/arseny/foo.bar. But I consider that it would be more natural to look file firstly in current directory. For example command would be

Question about md5sum

2006-05-29 Thread Arseny Solokha
Hello! I have a question about md5sum 5.2.1. For example, I'm in deirectory /home/arseny and I want to get hash of file foo.bar. I have to write md5sum /home/arseny/foo.bar. But I consider that it would be more natural to look file firstly in current directory. For example command would be

Re: Little Question

2006-05-20 Thread Johnny Fumagalli
Alright thanks for your input. I know that I recently installed WinAvr. I think that is part of GNU software. So it could have been for that because you need to do make files which I have not learned yet how to do. But anyways thanks for your time. On 5/20/06, Bob Proulx <[EMAIL PROTECTED]>

Re: Little Question

2006-05-19 Thread Bob Proulx
Johnny Fumagalli wrote: > I don't remember installing Unix commands on my Windows machine. I was > wondering if you could help me figure out what programs you made that would > have installed this. I am not mad at this at all because I do like Linux a > lot better than Windows but I just don't re

Little Question

2006-05-19 Thread Johnny Fumagalli
I don't remember installing Unix commands on my Windows machine. I was wondering if you could help me figure out what programs you made that would have installed this. I am not mad at this at all because I do like Linux a lot better than Windows but I just don't remember installing anything like

question on d_ino semantics

2006-01-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There are currently two competing uses of d_ino semantics in coreutils: lib/backupfile.c assumes that if d_ino is ever 0, (captured by the macro REAL_DIR_ENTRY, which is always non-zero on platforms without d_ino), that readdir() returned an invalid e

  1   2   >