-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, May 10, 2016 at 11:32:47AM +0200, Die Optimisten wrote:
> Hello
>
> echo hello!# displays that, BUT:
> echo "Hello!" # tells:
> -su: !": event not found# this worked years before without problem!
> Is that intended? These leads to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, May 10, 2016 at 11:20:23AM +0200, Die Optimisten wrote:
> On 2016-05-10 11:18, Die Optimisten wrote:
> >Hi,
> >
> >How can I escape a ' inside '...'
> >e.g. perl -e 'print '$ and a' '# I don't want to use "
The short answer is... you can't
Hi,
It is the historical part of C shell, you can disable it typing or adding
it to your profile :
set +H
Regards,
Jonathan
Le 10 mai 2016 11:48 AM, "Die Optimisten" a
écrit :
Hello
echo hello!# displays that, BUT:
echo "Hello!" # tells:
-su: !": event not found# this worked years
On Mon, Jul 19, 2004 at 10:33:02AM +1000, Zenaan Harkness wrote:
> Which raises the question - what if the expansion contains double quote
> chars? Perhaps using double-backslash (or quad??) would do the trick?
You mean like this?:
$ FOO='foo "more foo" bar'
$ echo "$FOO"
foo "more foo" bar
This
On Mon, 2004-07-19 at 10:27, Zenaan Harkness wrote:
> Does anyone know why the following works:
>
> #!/bin/sh -x
> FONT=-jmk-neep\ alt-medium-r-semicondensed-*-*-100-*-*-c-*-iso8859-15
> xterm -sl $BUFFER -fn $FONT -geometry 87x96+447+26
Sorry, the last line above should be:
xterm -sl $BUFFER -f
On 05-Oct-2000 XEN O wrote:
> I am currently running a red hat derivative linux and an looking to change to
> debian (as reports speak highly of it). However, it seems from looking at
> the list of shells packaged with debian it does not come with the bash shell
> - it this right ??
>
you proba
%% XEN O <[EMAIL PROTECTED]> writes:
xo> I am currently running a red hat derivative linux and an looking
xo> to change to debian (as reports speak highly of it). However, it
xo> seems from looking at the list of shells packaged with debian it
xo> does not come with the bash shell - it th
On Thu, Oct 05, 2000 at 10:39:34AM -0700, XEN O wrote:
> I am currently running a red hat derivative linux and an looking to change to
> debian (as reports speak highly of it). However, it seems from looking at
> the list of shells packaged with debian it does not come with the bash shell
> - i
Bash is the default shell.
XEN O wrote:
>
> I am currently running a red hat derivative linux and an looking to change to
> debian (as reports speak highly of it). However, it seems from looking at
> the list of shells packaged with debian it does not come with the bash shell
> - it this righ
[...]
> .bashrc only gets read for subshells. .bash_profile always get read no
> matter what. You can also source .bashrc from .bash_profile and you can
> forget about order. -marlon
Not true. The file ~/.bash_profile is sourced only in interactive _login_
shells. If you rea
On Thu, 3 Sep 1998, M.C. Vernon wrote:
>
> > My guess was that the .bashrc in my home directory needed the
> > same PS1 environment as the .bashrc in the root directory so I
> > added
> >
> > export PS1='\h:\w\$ '
> >
> > but this does not solve the problem UNLESS I login as myself and
>
To everyone who has replied to my question.
Thanks I have my prompt as I want it, I also now understand some of the
bash man information.
I also just wanted to check that my new netscape 4.06 is working.
Dave
On Thu, 3 Sep 1998, Julian Gilbey wrote:
: > Hi,
: >
: > On Hamm, if I login as root or while logged in as myself do a "su"
: > then my shell prompt shows the host and current directory.
: >
: > When I am logged in as myself my prompt is just a $
: >
: > I much prefer to see the curren
> Hi,
>
> On Hamm, if I login as root or while logged in as myself do a "su"
> then my shell prompt shows the host and current directory.
>
> When I am logged in as myself my prompt is just a $
>
> I much prefer to see the current directory in my prompt. So how do
> I change it?
>
> My guess
> My guess was that the .bashrc in my home directory needed the
> same PS1 environment as the .bashrc in the root directory so I
> added
>
> export PS1='\h:\w\$ '
>
> but this does not solve the problem UNLESS I login as myself and
> then type
>
> bash
>
> at which point the prompt change
David Stern wrote:
[snip]
> > You should use '#!/bin/bash' really, because now sh is just a link
> > to bash, but you are not guaranteed that in a future version it will
> > be another shell, or that bash _will_ act more (dumb) Bourne like in
> > the future when called as 'sh' (I for one would app
On Fri, 09 Jan 1998 23:01:54 +0100, "Rob S. Wolfram" wrote:
> David Stern wrote:
>>[..]
> news://comp.unix.shell
I know now.
> > 1.) How do I insert a newline character in a "double-quoted" string?
> If you mean "when using bash's built-in echo command", use
> echo -e "Test\nMoreText"
I'll use
David Stern wrote:
> I know this isn't a bash shell script news group, but the fact is I
> can't find one. Since bash is the default linux shell, I was hoping
news://comp.unix.shell
> someone could answer a few pretty simple questions.
>
> 1.) How do I insert a newline character in a "double-
On Wed, 07 Jan 1998 21:27:01 +1030, John Spence wrote:
> > I know this isn't a bash shell script news group, but the fact is I
> > can't find one. Since bash is the default linux shell, I was hoping
> > someone could answer a few pretty simple questions.
>
> Hi David.
>
> Try this link for an
On Tue, 6 Jan 1998, David Stern wrote:
> Hi,
>
> I know this isn't a bash shell script news group, but the fact is I
> can't find one. Since bash is the default linux shell, I was hoping
> someone could answer a few pretty simple questions.
>
> 1.) How do I insert a newline character in a "do
> I know this isn't a bash shell script news group, but the fact is I
> can't find one. Since bash is the default linux shell, I was hoping
> someone could answer a few pretty simple questions.
Hi David.
Try this link for an intro to Bourne shell scripts.
http://riceinfo.rice.edu/Computer/Doc
21 matches
Mail list logo