Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Bully for you to work thru some tutorials.</p> <p>Assuming you're using <code>vi</code> or <code>vim</code> <strong>all you need to do to include a tab char</strong> inside the <code>[ .. ]</code> grouping, <strong>is to type the tab key</strong>. ( I use putty all the time, and if pressing tab char doesn't "insert" a tab char into document/command-line, then you have a putty configuration problem ).</p> <p>The <code>^I</code> is from the vi <code>list</code> mode. <code>List</code> mode is handy to see where are line-feed chars (\n) will show as the reg-exp char <code>$</code> (which in reg-ex is an "end-of-line anchor", the other being <code>^</code> char (beginning of line)).</p> <p>So turning on <code>vi</code> list mode, with <code>:li</code> and you'll see all tab chars expanded as <code>^I</code> and all end of lines as <code>$</code></p> <p>As you say </p> <blockquote> <p>How do I get the script to delete the blank spaces in the nested parenthesis as demonstrated</p> </blockquote> <p>That is slightly ambiguous, as newer seds use plain parens as grouping chars to create replacement group like <code>\1</code> for the replacement-side of the s/pat/repl/ substitute cmd.</p> <p>Given that your example has no numbered-replacement value in the replacement-side, I'll assume that the purpose is the remove a literal <code>()</code> pair AND that it should work as indicated. Once you <code>:set list</code>, add a tab-char inside the <code>[ ... ]</code>, it should work. If not, please edit your question with any error messages that might appear.</p> <p>I hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload