Re: mtab very long

2005-05-28 Thread Sebastian Witt
Urs Thuermann wrote: Sebastian Witt <[EMAIL PROTECTED]> writes: my problem is, that the output of "mount" is very long (and also the /etc/mtab file.) it has double entries over and over: Haven't tried it, but I think the following would help: : > /etc/mtab mount -a -f thx, t

Re: Use of ":" (was: Re: mtab very long)

2005-05-25 Thread Maurits van Rees
On Wed, May 25, 2005 at 08:28:40AM -0400, Paul Smith wrote: > The most common usage these days is in conjunction with :=, like this: > > : ${TMPDIR:=/tmp} > > The := form assigns the value if the variable is empty, but it _also_ > substitutes the value. Adding ":" to the front makes that val

Use of ":" (was: Re: mtab very long)

2005-05-25 Thread Paul Smith
%% Maurits van Rees <[EMAIL PROTECTED]> writes: mvr> [EMAIL PROTECTED]:~$ : > temp mvr> Does anyone know any other uses for this ':' command? The most common usage these days is in conjunction with :=, like this: : ${TMPDIR:=/tmp} The := form assigns the value if the variable is empty,

Re: mtab very long

2005-05-25 Thread michael
On Wed, 2005-05-25 at 12:40 +0200, Maurits van Rees wrote: > On Wed, May 25, 2005 at 11:28:04AM +0100, michael wrote: > > On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote: > > > : > /etc/mtab > > > > what's the ':' do??? > > Nothing. At least hardly anything worth mentioning. See this s

Re: mtab very long

2005-05-25 Thread Maurits van Rees
On Wed, May 25, 2005 at 11:28:04AM +0100, michael wrote: > On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote: > > : > /etc/mtab > > what's the ':' do??? Nothing. At least hardly anything worth mentioning. See this snippet from the bash manual: # SHELL BUILTIN COMMANDS : [argu

Re: mtab very long

2005-05-25 Thread michael
On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote: > Sebastian Witt <[EMAIL PROTECTED]> writes: > > > my problem is, that the output of "mount" is very long (and also the > > /etc/mtab file.) > > it has double entries over and over: > > Haven't tried it, but I think the following would help:

Re: mtab very long

2005-05-25 Thread Urs Thuermann
Sebastian Witt <[EMAIL PROTECTED]> writes: > my problem is, that the output of "mount" is very long (and also the > /etc/mtab file.) > it has double entries over and over: Haven't tried it, but I think the following would help: : > /etc/mtab mount -a -f urs -- To UNSUBSCRIBE, email