title: How to cut variables which are beteween quotes from a string
body: <p>I had problem with cut variables from string in " quotes. I have some scripts to write for my sys classes, I had a problem with a script in which I had to read input from the user in the form of (a="var1", b="var2")</p>
  
  <p>I tried the code below</p>
  
  <pre><code>#!/bin/bash
  read input
  a=$($input | cut -d '"' -f3)
  echo $a
  </code></pre>
  
  <p>it returns me a error "not found a command" on line 3 I tried to double brackets like </p>
  
  <pre><code>a=$(($input | cut -d '"' -f3)
  </code></pre>
  
  <p>but it's still wrong. </p>