So sprach Joerg Schilling am Sun, Jun 17, 2001 at 11:13:48AM +0200:
There is neither of both on UNIX so you should'nt use them.
So, the superior OS'es like Solaris, HP-UX etc.pp. don't have neither of
mktemp and tempfile? What a shame...
UNIX shell scripts are creating tmp files by using
From: Alexander Skwar [EMAIL PROTECTED]
So sprach Joerg Schilling am Sun, Jun 17, 2001 at 11:13:48AM +0200:
There is neither of both on UNIX so you should'nt use them.
So, the superior OS'es like Solaris, HP-UX etc.pp. don't have neither of
mktemp and tempfile? What a shame...
What a
From [EMAIL PROTECTED] Sun Jun 17 16:14:20 2001
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:51:15PM +0200:
Which cannot be used as 'which' is a csh script.
It will fail if the user has no .cshrc which sets a CSH more alias.
?
[askwar@teich askwar]$ file $(which which)
I agreed to stop this thread,
My intention is only to improve the CDcontrol and make it portable.
Thanks by all suggestion, I'll make some changes in order to improve
the system on that way.
[EMAIL PROTECTED] wrote:
From: =?iso-8859-1?q?Bj=F8rn=20T=20Johansen?= [EMAIL PROTECTED]
Is it
Alexander Skwar wrote:
So sprach Gleydson Mazioli da Silva am Sat, Jun 16, 2001 at 10:40:20PM -0400:
Humm, it do the same job for Linux systems, I need to know if it exist
What Linux distribution ships with tempfile? I just had a look
rpmfind.net, and none of the RPM based distributions
From [EMAIL PROTECTED] Sun Jun 17 13:43:05 2001
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:26:11PM +0200:
The mktemp binary is nothing more than a wrapper to the C function mktem=
p,
which conforms to BSD 4.3, at least according to mktemp(3).
=20
But mktemp does not do anything
From: Alexander Skwar [EMAIL PROTECTED]
=20
1) I warn poeple when FSF programs do make life harder.
Why make tools with a greater ease of use life harder?
Sure? let's use something different from GNUtar so you cannot tell
that I am only pointing to GNU tar:
Why does GNU tail does
From [EMAIL PROTECTED] Sun Jun 17 14:26:30 2001
Why make tools with a greater ease of use life harder?
Sure? let's use something different from GNUtar so you cannot tell
that I am only pointing to GNU tar:
Why does GNU tail does not support the -b option?
-b is in the standard
[EMAIL PROTECTED] wrote:
What a shame for Linux: You don't need it!
I've developed cdcontrol on it, sorry for some things that point to
Linux utilities :-(
Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting
Living and learning, that's better and more faster than mktemp :-)))
[EMAIL PROTECTED] wrote:
You are thinking the wrong way. You should think: what tools are available
on a standard compliant OS and will they fit my needs. If they fit your needs
then use them even if it might be easier to use the nonstandard things from
Linux.
... If it is _really_ not
From [EMAIL PROTECTED] Sun Jun 17 14:45:42 2001
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 02:26:12PM +0200:
Why does GNU tail does not support the -b option?
-b is in the standard and the fact that GNU tar is
tail or tar? What should -b do?
Of course tail. tail -b 4
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 12:27:24PM +0200:
What a shame for Linux: You don't need it!
What a shame for you: You don't get it!
The mktemp binary is nothing more than a wrapper to the C function mktemp,
which conforms to BSD 4.3, at least according to mktemp(3).
The
From [EMAIL PROTECTED] Sun Jun 17 15:29:45 2001
Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
but I know people that uses emacs, mc, joe...
But PAGER isn't always set. If PAGER isn't set (as it's probably most often
the case on Linux systems), I'd use less since
Hi all,
some people wight ask why this discussion on the cdwrite
mailing list?
Well it turns out that it is a course on portable programming.
This _is_ my task as a member of the German National Open Source Center
(see www.berlios.de).
Cdrecord is a highly portable program. This is a result
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:31:58PM +0200:
Of course you need some basic knowledge on shell programming:
Use:
NOT!
pager=${PAGER-more}
pager=${PAGER-less} if you don't want to surprise a lot of Linux users who
are used to the comfort of less.
And you should add
From [EMAIL PROTECTED] Sun Jun 17 15:42:21 2001
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:31:58PM +0200:
Of course you need some basic knowledge on shell programming:
=20
Use:
NOT!
pager=3D${PAGER-more}
pager=3D${PAGER-less} if you don't want to surprise a lot of Linux users
Alexander Skwar wrote:
Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
but I know people that uses emacs, mc, joe...
But PAGER isn't always set. If PAGER isn't set (as it's probably most often
the case on Linux systems), I'd use less since this is the standard in
From: Gleydson Mazioli da Silva [EMAIL PROTECTED]
Maybe a simple check if the $PAGER variable exists and trying which
less and
which more (as last resource) could be the enought...
Which cannot be used as 'which' is a csh script.
It will fail if the user has no .cshrc which sets a CSH more
[EMAIL PROTECTED] wrote:
From [EMAIL PROTECTED] Sun Jun 17 15:29:45 2001
Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
but I know people that uses emacs, mc, joe...
But PAGER isn't always set. If PAGER isn't set (as it's probably most often
the case on
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:45:08PM +0200:
Well you are misinterpreting standards. The standard pager is more and if
a user did not set $PAGER he does not care about the pager he uses.
This is how UNIX always worked.
Urgs, if a user does not have PAGER set (which I
From: Gleydson Mazioli da Silva [EMAIL PROTECTED]
Of course you need some basic knowledge on shell programming:
Use:
pager=${PAGER-more}
The editor command is also an alternative on Linux systems, but I'm not
sure
about it compatibility with other operating systems.
if $(which editor)
From: Alexander Skwar [EMAIL PROTECTED]
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 12:27:24PM +0200:
What a shame for Linux: You don't need it!=20
What a shame for you: You don't get it!
Wrong: _you_ did not get it:
The mktemp binary is nothing more than a wrapper to the C function
So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:58:14AM -0400:
The editor command is also an alternative on Linux systems, but I'm not
sure
about it compatibility with other operating systems.
Mandrake doesn't have editor. Well, it seems like it boils down to using
(in this
So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:47:29AM -0400:
This is not the case of the Debian distribution, less isn't part of base
system,
a user will need to install it by hand.
Aha, didn't know that. So, when you're reading a man page on Debian, you
cannot scroll back?
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:51:15PM +0200:
Which cannot be used as 'which' is a csh script.
It will fail if the user has no .cshrc which sets a CSH more alias.
?
[askwar@teich askwar]$ file $(which which)
/usr/bin/which: ELF 32-bit LSB executable, Intel 80386,
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 04:05:25PM +0200:
Urgs, if a user does not have PAGER set (which I suspect the most (Linux ?)
users don't have set), he expects the standard pager to be invoked.
Right! and the standard pager is 'more'.
Standard - where? Linux Mandrake,
To: Gleydson Mazioli da Silva [EMAIL PROTECTED]
So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:58:14AM -040=
0:
The editor command is also an alternative on Linux systems, but I'm not
sure=20
about it compatibility with other operating systems.
Mandrake doesn't have editor.
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:00:14PM +0200:
However, if your favorite TAR program is not able to extract TAR archives
don't piss on me! Simply send a bug report to the maintainer of your
favorite TAR program.
Yes, I piss on you (your words, not
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:26:11PM +0200:
The mktemp binary is nothing more than a wrapper to the C function mktemp,
which conforms to BSD 4.3, at least according to mktemp(3).
But mktemp does not do anything different from the method I proposed.
From man mktemp:
From [EMAIL PROTECTED] Sun Jun 17 13:28:12 2001
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:00:14PM +0200:
However, if your favorite TAR program is not able to extract TAR archi=
ves
don't piss on me! Simply send a bug report to the maintainer of your
favorite TAR
From: Gleydson Mazioli da Silva [EMAIL PROTECTED]
#!/bin/bash
in the first line. There is no /bin/bash on UNIX, you should
use /bin/sh. I am sure that ther is no need to use bash nonstandard
shell extensions in your shell sript.
I've made tests with csh but some internal functions that
So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 04:46:21PM +0200:
There is no 'editor'. There is $EDITOR or 'edit'
Hmm, there's of course $EDITOR in Mandrake, but it also doesn't have
/usr/bin/edit.
I would simply default to 'more' but it would be OK to use 'less' in case it
is present
Alexander Skwar wrote:
So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:47:29AM -0400:
This is not the case of the Debian distribution, less isn't part of base
system,
a user will need to install it by hand.
Aha, didn't know that. So, when you're reading a man page on
33 matches
Mail list logo