Re: su 1.16:rh6:password hashing bug?

1999-12-28 Thread Bob Proulx
this is really the difference you are seeing. This has been the traditional UNIX behavior for 25 years. Some systems are now converting over to using more characters as being significant and doing other security enhancements. Bob Proulx

Re: su syntax

2000-02-28 Thread Bob Proulx
> Dear mantainer, Not the maintainer but another list denizen. > Running > su -c echo davide -norc > with su (in sh-utils 2.0) under linux I receive the following > > su: invalid option -- n > Try `su --help' for more information. > > is this correct? > Reading the usage it

RE: Date option %X does not work as expected.

2000-04-25 Thread Bob Proulx
Steve > date (GNU sh-utils) 2.0 I am running version 2.0 as well and this is what I see. I don't see your behavior. (It works for me. :-) date +%X 14:55:59 date --version date (GNU sh-utils) 2.0 > This is a new install, and I haven't checked any patches yet, but I > have assumed it i

Re: If I create a file as below and try to read it or delete it,gives problem saying "Unrecognized opti

2000-04-27 Thread Bob Proulx
> If I create a file as below and try to read it or delete it, gives > problem saying "Unrecognized option". > > cat > ---abc > aaldknfkdnadsf > asldknf;alksdfn;asdf > ^d > > To delete this file, it has to be in a directory and then we have to > go to it's parent directory and forcefully remove

Re: I believe there is a BUG with the sleep command

2000-06-12 Thread Bob Proulx
Sergio > Unfortunately I was not using the header in my C > application, I tried adding this header and it didn't make a difference...I > assume then that without the unistd.h my application was using the shell > version of sleep, is there a difference with the shell sleep and C's > slee

Re: small bug with pwd

2000-06-12 Thread Bob Proulx
following: /bin/pwd --version Bash implements several commands as builtins. Those commands are entirely contained inside of the shell itself. Bob Proulx

Re: diff for tee.c: warns if given no file arguments

2000-08-14 Thread Bob Proulx
Nathan > I wouldn't be surprised if this has already been addressed, but I was > browsing the source for tee in shellutils 2.0 and noticed a FIXME > comment on line 146: > > /* FIXME: warn if tee is given no file arguments. > In that case it's just a slow imitation of `cat.' */ > > So,

Re: 'date' error on hpux-10.20

2000-09-04 Thread Bob Proulx
Note that I am not the maintainer but another list denizen. > the "date" program from sh-utils-2.0 produces incorrect output on our > HPUX build system. Format strings %V and %U always give "00", > regardless of the actual date. > > The problem goes away if src/date.c and lib/strftime.c are manu

Re: error in "cut"

2000-09-07 Thread Bob Proulx
> Thanks for the report. > However, that is the required behavior. > I've changed cut's --help output and the texinfo documentation > to mention this `feature': > > $ cut --help > ... > -f, --fields=LIST output only these fields; also print any line >

Re: Bug in expr??

2000-11-03 Thread Bob Proulx
> expr --version > expr (GNU sh-utils) 2.0i > Written by Mike Parker. > > expr $(01*10) > 10 > > expr $(07*10) > 70 > > expr $(08*10) > 08: value too great for base (error token is "08") > > expr $(10*10) > 100 > > expr $(010*10) > 80 It looks like it was reading numbers with a leading 0 as

Re: linux usleep

2000-11-16 Thread Bob Proulx
question to the the kernel developers mailing list at [EMAIL PROTECTED] which is devoted to linux kernel development. Regards, Bob Proulx > dear sir, > > can you help to solve following problem?? > > I am using GCC to port RS485 device driver, but i encounted a serious problem. >

expr 2 * 2

2000-11-22 Thread Bob Proulx
in the online man pages or online info pages. However, I suggest a good book on UNIX such as the O'Reilly nutshell handbooks. Bob Proulx ___ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Re: system time on red hat linux

2001-01-05 Thread Bob Proulx
e clock time is drifting and generating random times then perhaps your battery has failed. If you are at least sometimes connected to the Internet then you can use NTP to keep your clock corrected. For information on NTP see the following location. http://www.eeci

Re: Bug in Linux Redhat 6.2 date

2001-01-21 Thread Bob Proulx
Mark > When I set the date in Redhat 6.2, it dates all files 6 hours ahead > of the current time--I assume because it doesn't recognize my > timezone??? How do I set this? > > i.e. > > date > Sun Jan 21 21:30:13 EST 2001 > > > touch /tmp/testfile > > ls -l /tmp/testfile > -rw--- 1 mark

Re: uname

2001-01-28 Thread Bob Proulx
> I usually look to uname to give me the operating > system version. In this case, I was investigating > whether a particular system was Redhat 6.2 or 7.0. > > Now uname -v is suppose to "print the operating system > version". Is this below output normal? Wherein lies > the operating system vers

Re: Bug?

2001-02-02 Thread Bob Proulx
> When using the test program as in the following: > > if [ -f *.in ]; then > do something > fi > > This works fine as long as you have only one file with the extension = > ".in", but when you have multiple files with the extension, it errors. > > Is this what was in

Re: Bug?

2001-02-02 Thread Bob Proulx
> Or perhaps you just want to know if any .in files exist at all in > which case you could perhaps do something like this. > > if [ -n "`echo *.in`" ]; then > : do something > fi I should test my snippets. This obviously won't work. You would really need something like the following.

Re: SU bug?

2001-02-12 Thread Bob Proulx
> If you change te rights of the /bin/su file to someting like 750 you can't > login. If you change the richts back to the default settings you still can't > login. > > SU reports the password is incorrect but it isn't. > > I tested it on RedHat 6.2 and 7.0. What is going wrong in su? Hopefull

Re: bug in 'tee' version 2.0

2001-02-27 Thread Bob Proulx
Stephan > I tried to use 'tee' to log all inputs to some program: > tee x.log|someprogram > > But when 'someprogram' terminates, 'tee' still keeps on waiting for > input. It apparently ignores the fact that the pipe is no more there. This behavior would be hard to avoid. Have you tried the foll

Re: echo manpage

2001-03-02 Thread Bob Proulx
> On mye linux mandrake machine the echo.1 manpage looks weird. This patch > fixes it. [...] > -\NNN > +\\NNN [...] > -\a > +\\a Thanks for the report. I believe this has already been fixed in a later release. The sh-utils package uses the help2man program which produces the man pages from the

Re: shellutils; No way to input a date in time_t format

2001-03-02 Thread Bob Proulx
> As a programmer, I often encounter dates in the time_t format > (e.g. 983370715), and I'd like the 'date' command to understand them > and to display them in a more readable way. Unfortunately, GNU date > seems to provide no way (no documented way, at least) to use that > format as input. > >

Re: Is it a bug in sleep() ?

2001-03-07 Thread Bob Proulx
>Is it a bug in sleep() ? [...] > sleep(8); // still interrupted > Although i am disabling the cancel signal > But still sleep is getting interrupted ? Thanks for the report. But you are confusing the operating system kernel system call sl

Re: uname -p gives unknown.

2001-03-16 Thread Bob Proulx
> We are porting a product, whose install script uses the processor name > as part of a filename.On the box that we have, we are seeing > uname -p give: unknown and uname -a gives: > Linux linux1 2.2.14-12 #1 Tue Apr 25 13:04:07 EDT 2000 i686 unknown > > (the system date is not set

Re: same Host ID

2001-03-24 Thread Bob Proulx
> I have two linux machines with redhat 7.0 and its korean derivative. > Two have the same hostid. > What's the problem. > There is no problem in readhat 6.2. > > Thanks for your effort. > > --- > Sung-IL Kang > KAIST in Korea The hostid command is only a wrapper around the gethostid() kernel

Re: Substitute user SU

2001-03-27 Thread Bob Proulx
> the su command usually keeps track of the persons who have used the su > in /var/adm/sulog in almost all the unix versions > > but could not find it here > > Using RH 7.0 K 2.2.16-22 > > what is the fix for this ? The GNU sh-utils version of su shipped by Redhat logs to syslogd which has be

Re: date - system time

2001-03-28 Thread Bob Proulx
> Hi, there is no way (only bootup-BIOS) to > change the system-time (hardwareclock). > > Is this right ?? (suse Linux 7.1) Read the man page for "hwclock" (historically aka /sbin/clock). [I must remark that the hwclock man page stands out as exceptionally good.] Bob _

Re: Problem with "test" utility

2001-04-04 Thread Bob Proulx
> I'm having a problem with the "test" utility. > I'm using Red Hat Linux v6.1 (Cartman) - Kernel 2.2.12-20 which I installed > not long ago. Which shell are you using? The test command is a builtin command of the shell. Therefore it is important to know the shell. There is also an external

Re: Buggy sleep()

2001-04-04 Thread Bob Proulx
> I have noticed very strange bahaviour of sleep() function. > Here are two examples: > /* Ex1 */ > printf("something1"); [...] > /* Ex2 */ > printf("something1\n"); > Could you please expalin me the differences between given examples, > except new lines \n in printf(). The "bug" is that in Ex1

Re: date - system time

2001-04-05 Thread Bob Proulx
> Thank you -- may be a Unix-like hint is welcome? [...] > SEE ALSO >The full documentation for date is maintained as a Texinfo >manual. If the info and date programs are properly >installed at your site, the command > > info date > >should g

Re: date

2001-04-18 Thread Bob Proulx
> date --version reports 2.0. > > the doc says date -u will set the time in UTC, but it does not work the same > as date -s. For instance, date -s 1401 works fine; date -u 1901 does not. Those two options are independent. -u is not a replacement for -s. -u modifies the behavior of -s, and other

Re: su - bug ?

2001-04-29 Thread Bob Proulx
> Both username hehe and #hehe don't exist > > [freax@freax freax]$ su hehe > su: user hehe does not exist > [freax@freax freax]$ su #hehe > Password: > su: incorrect password > [freax@freax freax]$ Thanks for the report. But that is not a bug. The behavior you report has nothing to do with

Re: Stackdump in sleep

2001-05-03 Thread Bob Proulx
> Apologies for sending this un-analysed - I couldn't find documentation for > how to pre-check this before sending it on. I got the email address from > sleep --help in Bash. > > I got a stackdump in sleep, running Bash on W2000, which I attach. > > If you can point me at instructions that wou

Re: Problem with "su"

2001-05-09 Thread Bob Proulx
> I'll try to change place of "su" form /bin to /home/specuser/bin for = > security. > (mv /bin/su /home/specuser/bin ) > then I have logged myself like specuser and I've tried to use "su" ex. : = > su (enter) > = >

Re: date

2001-04-21 Thread Bob Proulx
> | However, I think you have uncovered a different bug. > | > | date -u -s 1401 > | Wed Apr 18 20:01:00 UTC 2001 > | date -u -s '1401 UTC' > | Wed Apr 18 14:01:00 UTC 2001 > > Thanks to both of you for the reports. > Bob, what version of date are you using? And on what type of system?

Re: GNU Date?

2001-05-22 Thread Bob Proulx
> I took over administration of a server and one of the users on that system > use gdate in his scripts. I am settinng up a new server and I will have to > migrate everything to this new server. The previous administrator did not > leave any src files for me to recompile gdate on my new server,

RE: Unexpected behaviour in date; calculates daylight savings time in correctly...

2001-06-03 Thread Bob Proulx
> So, putting in the -u flag didn't help. I tried testing several systems [...] > bash-2.03# src/date --version > date (GNU sh-utils) 2.0 In all cases I saw the version was 2.0. If possible you should try the newer 2.0.11. I believe there have been some fixes since 2.0 which might improve your

Re: Bug in expr?

2001-06-08 Thread Bob Proulx
> I am writing a script and appear completely unable to employ expr. > > It works for plus but for no other operators. I need *. Are you forgetting that * is a shell metacharacter and would need to be protected from shell expansion? Check this with echo. echo expr 2 * 3 You want to quote th

RE: Two bash programming questions (fwd)

2001-06-10 Thread Bob Proulx
> $ rpm -qf `which echo` > sh-utils-2.0-13 The 'which' command will always report external commands. But the shell has internal replacements for many external commands. The 'echo' command is one of those that is typically an internal shell command unless you force it otherwise. type echo e

Re: a possible su bug...

2001-06-10 Thread Bob Proulx
> 5.7 root->sjrd1# su - smuser > Sun Microsystems Inc. SunOS 5.7 Generic October 1998 > $ which ps > /usr/ucb/ps > 5.7 root->sjrd1# /usr/bin/su - smuser > Sun Microsystems Inc. SunOS 5.7 Generic October 1998 > $ which ps > /usr/bin/ps One part that is important to understanding what is happening

Re: bash bug

2001-06-10 Thread Bob Proulx
> Under Linux 7.0 with bash 2.04.11: 1. You should report this to [EMAIL PROTECTED] and not [EMAIL PROTECTED] Wrong list. But an honest mistake. And of course we have the best support over here. :-) 2. What you are seeing is considered a feature by many. As an old timer I don't lik

Re: nohup.out and Symlinks

2001-06-10 Thread Bob Proulx
> When nohup runs a program whose output is a terminal, it redirects > stdout and stderr to a file named nohup.out in the current > directory. So far so good. > What would stop someone from creating a symlink called nohup.out > that points to /etc/passwd or some other important file, and then >

RE: Two bash programming questions (fwd)

2001-06-11 Thread Bob Proulx
> It has been my silent assumption that both implementations would > behave the same (for sake of compatibility). You are correct. But pursuing the shell internal version would have led you to bug-bash instead of the external version leading you to bug-sh-utils. :-) Bob _

Re: date (GNU sh-utils) 2.0

2001-06-23 Thread Bob Proulx
> I believe I have found a bug in the version of GNU 'date' > distributed with RedHat 7.1. > > === Version return: === > date (GNU sh-utils) 2.0 There have been many fixes to date in the latest test beta releases. If it would be possible for you to test these I am hoping you will find your pro

Re: Bug in date (GNU sh-utils) 2.0

2001-06-23 Thread Bob Proulx
> I am afraid I stumbled on a bug in date (GNU sh-utils) 2.0, running on RedHat > 7.1 (RPM sh-utils-2.0-13) or Solaris 2.6 (installed from sources in There have been many fixes to date in the latest test beta releases. If it would be possible for you to test these I am hoping you will find your p

Re: meta char in [ -f xxxx ] test

2001-06-23 Thread Bob Proulx
> Is there a way to get wild character support in the file-exist test = > expression, I was able to do this in SCO's sh shell, but bash on linux = > doesnt seem to support it. > For example: > if [ -f mystuff*.zip ] > then > echo "mystuff files exist" > fi > Paul Meyers > Systems Administrator >

Re: my bug report1: BASH command which says my shell script is not found evenif it exists under $PATH, unless I add #!/bin/sh in the 1st line

2001-07-08 Thread Bob Proulx
> 1st of all, I am very much delighted to use the GNU > tools that I downloaded from www.cygnus.com. > > Here is a bug report on BASH command 'which' and > probably related 'chmod' and/or 'ls -ls' as well. Thank you for your excellently prepared bug report. It really stands out as compared to

Re: su command not working

2001-09-10 Thread Bob Proulx
Jonathan > According to the man page su should assume USER is root if none is > given. > > This used to work but having installed ximian it no longer does and I > need to explicitly add -l to the command line to su to root. > > If I just enter su the password is validated but I am still the ori

Re: su command not working

2001-10-20 Thread Bob Proulx
Jonathan > This is a fresh install of Linux Mandrake 8.1 on an i586 and the output in an > XTerm window. > :Fri 05:16:58:~> id > uid=501(jon) gid=505(jon) > groups=505(jon),22(cdrom),43(usb),80(cdwriter),81(audio),501(xgrp) > :Fri 05:16:58:~> su root > Password: > :Fri 05:16:58:~> id > uid=501(jo

Re: date rejects proper parameters with -s option

2001-10-20 Thread Bob Proulx
> My attempts to set the system date on my system have failed with the > following command: > > [root@alex log]# date -s 10200710 > date: invalid date `10200710' Thanks for your report. But you are just confusing the old style date format MMDDhhmm[[CC]YY][.ss] which is a long set of numbers pa

Re: Bug Report

2001-10-22 Thread Bob Proulx
> I am porting an application from HP-UX to Linux > the sleep call does not work as it should. You have asked a question which I am putting in the FAQ list. > In man 3 sleep is declared to accept unsigned in sec. but it does not. ( > 2^32 - 1 sec ) But if you are having a problem with sleep(3)

Re: /bin/date handling of daylight savings

2001-10-29 Thread Bob Proulx
> This is rather interesting: [...] > [jyp@lavred jyp]$date --version > date (GNU sh-utils) 2.0 If you are using date version 2.0 or earlier that is certainly possible. A large number of bug fixes and improvements went into the sh-utils-2.0.11 around October 2000. Please install a newer versio

Re: GNU date = BSD date ?!

2001-11-19 Thread Bob Proulx
> Another buglet. With GNU date from sh-utils this time. Thanks for the report. But there is no bug there. You are using date incorrectly. >date [OPTION]... [+FORMAT] >date [OPTION] [MMDDhhmm[[CC]YY][.ss]] The traditional way to use date. Except that the yy is sometimes in t

Re: bug in seq

2001-11-20 Thread Bob Proulx
> I get the following outputs from seq, and they are obviosly contraversary: > > $ seq -s ' ' .9 .03 1.5 > 0.9 0.93 0.96 0.99 1.02 1.05 1.08 1.11 1.14 1.17 1.2 1.23 1.26 1.29 1.32 > 1.35 1.38 1.41 1.44 1.47 1.5 > > $ seq -s ' ' .9 .03 1.2 > 0.9 0.93 0.96 0.99 1.02 1.05 1.08 1.11 1.14 1.17 > > W

Re: Feature requests for sleep and a new program

2001-11-29 Thread Bob Proulx
> Hi, > > I'd like to propose two new features to "sleep": > > 1) Sub-Second resolution GNU sleep version 2.0a and later implements that. The NEWS file contains: [2.0a] * sleep accepts floating point arguments on command line And the info page includes: Historical implementations of `

Re: logname --help

2001-10-12 Thread Bob Proulx
> no help in logname --help Perhaps you are using a different version of logname? This seems to be implemented. --Bob logname --help Usage: logname [OPTION]... Print the name of the current user. --help display this help and exit --version output version information and exit Repor

Re: Bug in the login (tty) in Gnu-Shell Utils 2.0

2002-01-18 Thread Bob Proulx
> When the login screen appears after booting if I press the right > arrow on my keyboard, which places [C in the username space then > press enter to type in the password, the case of the letters changes > to uppercase. This is probably the way it is supposed to work. The login program tries to

Re: two machines gives same hostid

2002-01-30 Thread Bob Proulx
> I have two systems (Dell GX 240, RH 7.2 2.4.7-10 kernel). THe hostid > output is same for both! Interesting. > system 1. > > Ethernet HWaddr 00:06:5B:7C:32:EC > hostid: 7f0100 > > system 2: > Ethernet HWaddr 00:06:5B:7C:32:F3 > hostid: 7f0100 > > How this can happen? The hostid program

Re: Termination of "su" processes

2002-02-09 Thread Bob Proulx
> I'm using "su" (GNU sh-utils) version 2.0 on a RedHat Linux 6.2 box. I also > have OpenSSH 2.9.9p2 running on this box. I wanted to do remote monitoring > of this system's messages, so I logged in using a normal user account then > did a "su --command='tail -100f /var/log/messages' root". > >

Re: problem with who

2002-02-09 Thread Bob Proulx
> I use debian woody with kernel 2.4.17, gnome and gnome-terminal. > > who doesn't report anything, as nobody was logged in. > I use --login option of gnome-terminal but nothing. > Even if I use "su -" it doesn't report nothing. > > the files utmp and wtmp have the following permissions > > -r

Re: uname -p is broken

2002-02-14 Thread Bob Proulx
> Are you aware that uname -a gives incorrect output? or rather missing > the -p, --processor print the host processor type feature? Note that the -p option is not standard. For portable applications you should avoid using that option. In fact the uname functionality is such that portable scr

Re: uname -p is broken

2002-02-15 Thread Bob Proulx
> > Note that the -p option is not standard. For portable applications > > you should avoid using that option. In fact the uname functionality > Well as both -s and -p are present it would seem sensible that they > worked. If there is an issue with it not working why is it present in a > brok

Re: su defaults to root, not user id 0

2002-02-20 Thread Bob Proulx
> This is a somewhat frivolous bug, but my friends and I are wondering why > su defaults to user 'root' instead of to Unix user id 0. That is, if I > change the user name of the Unix account with id 0, su no longer > defaults correctly to that user name. > > Any thoughts on the rationale behind t

Re: [Patch] added sh-utils/dirname backslash support

2002-02-20 Thread Bob Proulx
> the current dirname tool does not support backslash support. This > patch fixes this. - slash = strrchr (path, '/'); + slash = strrchr (path, delim); + if (slash == NULL) +delim = '\\'; +slash = strrchr (path, delim); I do not believe this is valid. It appears to say, if no / found

Re: BASH bug - no echo - no CR LF

2002-02-20 Thread Bob Proulx
> Right after I run vi or less, my session does no local echo, nor do I get > carriage returns or linefeeds. > My platform is Windows 2000. I did not compile the source; I used binaries > from your download site. > Any clues? Sounds like your version of vi is misconfigured and does not restore

Re: utility 'seq'

2002-02-22 Thread Bob Proulx
> I played with seq and found it quit usefull. > Can I file two enhancement requests ? Suggestions are always welcome. > (1) My version speaks German and therefore (I guess) there is no decimal > point in reals but a decimal komma . > This is good and correct if the numbers are used in a

Re: linux bash stty bug

2002-03-01 Thread Bob Proulx
>Probles description: > > I tried to send data from Linux /dev/ttyS0 to a SCO unix serial > port. The two serial ports are connected with a NULL MODEM. > If XON/XOFF flow control is used, I set the linux /dev/ttyS0 with: > > ( stty 9600 ixon ixoff -crtscts cs8 ; > whil

Re: date

2002-03-07 Thread Bob Proulx
JR > is it possible with date to set the time it shall display with the number > of seconds, one gets from the output of: > > ' %s seconds since 00:00:00, Jan 1, 1970 (a GNU extension)' Yes it is possible. This is documented in the manual. Here is the pertinent section. To convert su

Re: how can i

2002-03-16 Thread Bob Proulx
> does GNU GCC (Cygwin for Windows) support 64-bit functions? > how do i turn them on? > how can i display a 64-bit integer using printf? Check with the Cygwin folks. http://cygwin.com/ Bob ___ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mai

Re: bohup / molpro don't work together ?

2002-03-16 Thread Bob Proulx
> I do have some problems with the molpro quantum chemistry program > exiting due to Signal 1 (Hangup) even though it is run through > nohup. The hangup-exit is reproducible and happens after the program > is running for hours or days. Why is the program being sent a SIGHUP? That normally happen

Re: man date

2002-03-18 Thread Bob Proulx
Thank your for your report. It is most appreciated. However what you have seen is not a bug but normal program behavior. > in date's manual page i read: > > -s, --set=STRING > > but i could change the date only with: > > date -s22:00:00 +%T > > why the equal sign if? It is not clear to me

Re: Echo command in version 2.0 doesn't display help or version

2002-03-20 Thread Bob Proulx
> According to the man page for echo, --help and --version will both > generate information from the echo command itself. However, in > accoring-to-the-man-page version 2.0 (included with RH 7.0), issuing the > command "echo --help" results in the output of "--help", and the command > "echo --

Re: ls --help --version

2002-03-28 Thread Bob Proulx
> ls --help > ls --version > > don't work as documented in the man page > ls --version > is suppose to display version information > all it displays is "--version" > > ls --help > is suppose to show the man page and exit Then the odds are good that you are not using GNU version of those util

Re: nice bug

2002-03-30 Thread Bob Proulx
> kuiper@dsnra2:~/tcl$ nice -ADJUST xdos Thanks for the report. The documentation perhaps is not completely clear that ADJUST is meant to be a number. > -ADJUST increment priority by ADJUST first > Range goes from -20 (highest priority) to 19 (lowest). Several traditional c

Re: date command "-d last month" error

2002-03-30 Thread Bob Proulx
Randy > I have just found a bug in the date command. Thanks for the report. Could you also report to the email list the version of the date command you are using. There have been many bugs fixed in recent versions. You might still be using an older version. If you are using date version 2.0

Re: Does 'date' (sh-utils) contain a rootkit?

2002-03-30 Thread Bob Proulx
Jim is away from his keyboard for a few days. In lieu of his authoritative answers let me provide some information. > ** sh-utils-2.0 > ** chkrootkit-0.35 (chkrootkit.org) > > 'chkrootkit' says that 'date' (sh-utils) contains a rootkit. Is this a > false positive or not? Since the GNU utilitie

Re: ls --help --version

2002-04-01 Thread Bob Proulx
> > > ls --help > > > ls --version > > > > > > don't work as documented in the man page > > > ls --version > > > is suppose to display version information > > > all it displays is "--version" > I made a slipup in typing its echo that doesn't work right Please check out the following FAQ on th

Re: Badly formed number error with tcsh

2002-04-11 Thread Bob Proulx
> I found the following problem with nice 2.0.11: If you would be so kind as to report the 'nice --version' output to the list it would be appreciated. I believe you will find that it is not the GNU version. > with tcsh If you are using tcsh then you are using the tcsh built-in version and NOT

Re: true

2002-04-19 Thread Bob Proulx
> is this a joke? or poor usage of a man-page template? or an honest > mistake? Generally folks on the bug list always try to make sure people get a reasonable response to bug reports submitted. But I am sorry that I cannot discern what issue you are trying to report in the mail that you submitt

Re: Possible bug in env Re: Is there a way to make env invoke perl with -w ?

2002-04-19 Thread Bob Proulx
> We have had a long discussion and I have finally come to the conclusion that env >cannot envoke any interpreter with an argumetn, in spite of what the man and info >pages say Thank you for your report. However, you are confusing the operating systems actions with those of env. What you are

Re: env won't accept arguments in shebang

2002-04-19 Thread Bob Proulx
> I'm not 100% sure this is a bug, but I can't find an explanation for this > behavior in either the env texinfo file or on the sh-utils FAQ page. If > you run this command from the shell prompt: > > echo 'print "foo\n"' | /usr/bin/env perl -w > > env works as expected. However, the corr

Re: Possible 'who' bug?

2002-04-25 Thread Bob Proulx
> Possible bug with 'who', or kernel? Possibly neither. > I have a couple of entries listed when I do a 'who' that I can't seem to get > rid of (other than rebooting). I've even gone so far as to take my system > down to INIT runlevel 1 (single-user mode) and kill all extraneous processes >

Re: [PRI=unimportant] Reiserfs 3.6: errors with rm, ls and many individual files

2002-05-09 Thread Bob Proulx
> cp001:~ # du -sh bonnietmp.old/ ; ls bonnietmp.old/*log* ; rm -rf bonniet= > mp.old/*log* > 43M bonnietmp.old > bash: /bin/ls: Argument list too long > bash: /bin/rm: Argument list too long > cp001:~ # You are seeing a common shell expansion limit. You are hitting ARG_MAX. Here is an FAQ

Re: Minor bug in su shell util.

2002-05-23 Thread Bob Proulx
> It seems that su accepts valid password (unix) more than 8 characters. But > it just reads first 8 chars and authenticates if the user name and first 8 > chars of the password is a valid user account. My colleguge has detected it. I did not look at the code but I do not believe that su is trunc

Re: problem in using user account

2002-05-30 Thread Bob Proulx
> When i logged in as the user and do ls, it is saying permission denied. It > was working fine before.I don't know what to do. Please let me know where > and which files to modify to fix this problem. There are endless reasons why that might happen. You probably set your permissions incorrect

Re: Problem with test -d

2002-05-31 Thread Bob Proulx
Thanks for your report. There does indeed seem to be a problem on HP-UX. I am filing a defect against it. > ENTW-HP: /home/user/work # test -d man??? > ENTW-HP: /home/user/work # echo $? > 0 > ENTW-HP: /home/user/work # echo $USERDIR/work/man??? > /home/user/work/man000 /home/user/work/man001 /

Re: WISH: tee -> add option for nonbufffered input/output

2002-06-05 Thread Bob Proulx
Thanks for your report. > i really wish to have option in tee utility for switching input/output > to be unbuffered. Now, teeing process ouput breaks "interactive > watching". You do not see anything until tee's input buffer is filled. Are you sure the problem is with 'tee' and not the comman

Re: who -u issues no base PID

2002-06-05 Thread Bob Proulx
> > > In the future it would be most appreciated if you did not send HTML mail to mailing lists. Plain text is strongly recommended. http://www.expita.com/nomime.html > The 'who -u' command on SCO Unix and AIX both issue a base PID along with > the user, tty, date/time, & idle-time. I am

Re: Bug in Command "expr"

2002-06-07 Thread Bob Proulx
>Hi. I'm from Brazil. My name is Carlos Fontoura. I'd like to report > a bug in "expr" command. I couldn't execute the following line: > >expr 3 * 3 > >Maybe there's something I'm forgetting to do. I hope so. Yes, you are forgetting that * is a shell wildcard. Try

Re: date command

2002-06-11 Thread Bob Proulx
> date +%s --date="20380120" > > gets Invalid date? > Why can't I get the date in seconds for 20th of Janurary 2038? Because your operating system is using a 32-bit value for time_t and that date overflows the value that it can hold in seconds since Jan 1, 1970. This is one of the reasons why Y

Re: nohup doesn't accept aliases . .

2002-06-14 Thread Bob Proulx
> Hey, I was just trying to use nohup this way: > > nohup cvsbackupthebackup > > where cvsbackupthebackup is just an alias - it looks like it does not > correclty interpret the alias (it's an rsync command) - > > I'd like to nohup and & my command so I can backup cvs, and logout and > go ho

Re: printf hex conversion gives wrong values

2002-06-26 Thread Bob Proulx
> during developing a new shell script; I detected an erroneous behaviour > of the printf command. Thank you for your report. But I believe you are unaware that leading zeros indicate octal encoding. Neither 8 nor 9 are valid octal values. And of course 010 octal is 9 decimal and so on. > pri

Re: printf hex conversion gives wrong values

2002-06-26 Thread Bob Proulx
> > during developing a new shell script; I detected an erroneous behaviour > > of the printf command. > > printf fails on hex conversion for 008 and 009 and gives wrong values > > for higher numbers, if the digit to convert contains leading zeroes. > > Without leading zeroes the conversion succee

Re: sh-utils-2.0.tar.gz, date (GNU sh-utils) 2.0

2002-07-07 Thread Bob Proulx
> i.e the year is wrong. I started thinking about this from the > gnu ftp site ftp.gnu.org where entries like > If I can be of any help let me know. Here is some information > Linux 2.4.18 > i686 > gcc-3.0.4 > glibc-2.2.5 If you are using date version 2.0 or earlier as your sub

Re: basename/pwd

2002-08-04 Thread Bob Proulx
Hunter Peress <[EMAIL PROTECTED]> [2002-08-04 05:58:56 -0500]: > SUGGEST: > > give basename an option to do the opposite: > > EG: basename /home/lalal/lolo/sdds gives: > sdds > > but > basename -newoption gives: > /home/lalal/lolo I believe what you are looking for is 'dirname'. dirnam

Re: date (GNU sh-utils) 2.0 gives incorrect result

2002-08-16 Thread Bob Proulx
Michael Wang <[EMAIL PROTECTED]> [2002-08-16 00:02:36 -0400]: > date (GNU sh-utils) 2.0 gives incorrect result. > date (GNU sh-utils) 1.16 and perl are ok. > > Please advise how should I fix date (GNU sh-utils) 2.0. Version 2.0 is very old. Please update. Here is an FAQ entry on that particula

Re: date -bug: blank in Timestamp

2002-09-03 Thread Bob Proulx
Herm <[EMAIL PROTECTED]> [2002-09-03 11:05:41 +0200]: > when generating a timestamp with > date --date='2002-03-08 08:50:02' +%Y%m%d%k%M%S > i get a blank in the response: > 20020308 85002 > > after time has raised it looks like this: > date --date='2002-03-08 18:50:02' +%Y%m%d%k%M%S > 2002030818

Re: question, not bug

2002-09-08 Thread Bob Proulx
Matthew Smith <[EMAIL PROTECTED]> [2002-09-05 01:05:33 -0400]: > i'm using date (GNU sh-utils) 2.0 and i'm not sure if i'd be permitted to > upgrade to another version, but my question is > is there a common way to supply date --date with 'time in seconds since > the Epoch' instead of a MMDD o

Re: Error in "man date"

2002-09-12 Thread Bob Proulx
Richard Neill <[EMAIL PROTECTED]> [2002-09-12 01:29:56 +0100]: > Sorry if this is already reported. > > In "man date", the %S option is listed as from 0-60, not 0-59 > > I have tested, and it seems to be actually 0-59 ie 'round down to the > nearest second', rather than (erroneously) 'round to

Re: Bug Report about "expr".

2002-09-12 Thread Bob Proulx
Michel Bouchet <[EMAIL PROTECTED]> [2002-09-12 17:36:08 +0900]: > I noticed the folowing under Linux Mandrake 8.2, with the expr command : > > [eagle@WA_Mozart eagle]$ expr 2 * 3 > expr: syntax error > [eagle@WA_Mozart eagle]$ > > Shouldn't the answer be 6 and not an error message ? No. You ar

Re: chroot_bug_??

2002-09-12 Thread Bob Proulx
xx <[EMAIL PROTECTED]> [2002-09-10 14:22:28 +0200]: > F.i. #md /usr/local/test . Then a chroot /usr/local/test (as root) > merely reports the error Cannot execute /bin/bash no such file > or directory, though "/bin/bash" is correctly located. Chroot reads the > correct SHELL environment entry. > "

  1   2   >