Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #35748

Quotes in a bash script

From G <g@nowhere.invalid>
Newsgroups comp.os.linux.misc
Subject Quotes in a bash script
Date 2022-10-20 09:47 +0000
Organization <Not Here, Not Me>
Message-ID <jrcjpgF7igtU1@mid.individual.net> (permalink)

Show all headers | View raw


Hi,

I have to run in a bash script a program that requires the string 

'TITLE "Average"'

in the command line with exactly that combination of double and single quotes.

Whatever combinations of quotes, escapes and tricks I try the string passed to
the program is wrong and not accepted. Is there a way to write that in a Bash
script in a way that the prog sees exactly that?

Thanks, 

G  

Back to comp.os.linux.misc | Previous | NextNext in thread | Find similar


Thread

Quotes in a bash script G <g@nowhere.invalid> - 2022-10-20 09:47 +0000
  Re: Quotes in a bash script Rich <rich@example.invalid> - 2022-10-20 12:19 +0000
    Re: Quotes in a bash script G <g@nowhere.invalid> - 2022-10-20 15:36 +0000
      Re: Quotes in a bash script Rich <rich@example.invalid> - 2022-10-20 16:06 +0000
      Re: Quotes in a bash script Joe Beanfish <joebeanfish@nospam.duh> - 2022-10-20 16:11 +0000
        Re: Quotes in a bash script G <g@nowhere.invalid> - 2022-10-20 17:08 +0000
          Re: Quotes in a bash script Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-10-20 20:19 +0000
            Re: Quotes in a bash script G <g@nowhere.invalid> - 2022-10-21 09:47 +0000
              Re: Quotes in a bash script "26C.Z969" <26C.Z969@noaada.net> - 2022-11-23 00:00 -0500
  Re: Quotes in a bash script Dominik Ałaszewski <Dominik.Alaszewski@gazeta.pl.invalid> - 2022-10-21 11:12 +0000

csiph-web