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
Tony Guo wrote:
> after I tried a few commands to change to different
> versions of shells available (sh, csh, ksh, etc.) with
That is an important clue. I think your problem is there.
> my fedora core 2 installation, and have a few su-ed
> windows open, I suddenly found the su command does not
> > seq feature for other things as well, I think, provided it was well
> > implemented - e.g. 'jot' seems to seed it's RNG from epoch seconds,
> > which is no good, microseconds would be better. The disadvantage is
>
> Yes, but there's two points here:
> 1) There's generally a way to the user to
On Sun, 30 Jan 2005 12:10pm -0800, Frederik Eaton wrote:
> seq feature for other things as well, I think, provided it was well
> implemented - e.g. 'jot' seems to seed it's RNG from epoch seconds,
> which is no good, microseconds would be better. The disadvantage is
Yes, but there's two points h
> Such a program could do things interesting like :-
>
> 1. Permute pseudo-randomly by default.
> 2. Permute pseudo-randomly according to a seed specified on the
>command line
> 3. Generate the Nth permutation of its input, according to a
>reproducible scheme
> 4. Permute almost pseudo-ran
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
recognized.
Though I was able to get th
> > A friend introduced me to that trick a few years ago and I have been
> > using it ever since. $RANDOM is a ksh/bash specific feature. It is
> > not POSIX but is widely available.
>
> I think my commentary on this is a bit off-topic here, but your message
> reminds me of a dream I have for a
Eric Blake <[EMAIL PROTECTED]> wrote:
> After further googling, it looks like there are several systems which have
> VSWTC instead of VSWTCH, but still initialize mode->c_cc[VSWTC] with
> CSWTCH [1]. The following patch fixes this situation for coreutils. It
> also silences some annoyances from c
Eric Blake <[EMAIL PROTECTED]> wrote:
> I have enough other patches in the works that you probably need to get me
> started on a copyright assignment offline.
Will do.
> Is there any reason that all
> the Makefile.in and other generated files are stored in CVS?
Yes, of course.
Sometimes I use te
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Here are some minor fixes to the testsuites. New Makefile.am targets
should be made phony for performance. When parsing file mode attributes,
you need to consider that a file with ACLs set show up with an extra '+'
at the end of the mode string. Als
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 1/20/2005 9:36 PM:
> When compiling coreutils/src/stty.c, I got a warning:
>
> stty.c:106:1: warning: "CSWTCH" redefined
> In file included from /usr/include/termios.h:4,
> from stty.c:40:
> /usr/include/sys
On Thu, 27 Jan 2005 10:21pm -0700, Bob Proulx wrote:
> A friend introduced me to that trick a few years ago and I have been
> using it ever since. $RANDOM is a ksh/bash specific feature. It is
> not POSIX but is widely available.
I think my commentary on this is a bit off-topic here, but your
Oh, I forgot to respond.
> This is not really what you are asking for. But when I need this
> functionality I do it in the shell. Here is an example. I am not
> particular about the exact type of non-ordered output.
>
> seq 1 20 > /tmp/datafile
>
> for i in $( | sort -n | sed 's/^[0-9
13 matches
Mail list logo