• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Very fundamental- put quotation mark(s) into a string

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 145
  • Views 6454
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Very fundamental- put quotation mark(s) into a string

jorankin
jorankin over 14 years ago

I am trying to put a quotation mark into a string so that I can use a system () command to perform sed on my netlist. My netlist was modified and all of the " " 's in my netlist were removed from my .pwl file names. Now spectre won't run. Can you tell me how to do this? It is a very fundamental thing, but for some reason, it's not clear how to do this in SKILL.

Thanks,

John

  • Cancel
Parents
  • jorankin
    jorankin over 14 years ago

    I want to be able to put quotation marks in a shell command.

     

    the above example wasn't a very good one since one could do the above with or without quotation marks. In the shell, to print "test", you have to do echo "\"test\"". It would be even more fun in SKILL...ugh...

     

    In my specific case, I want to take a netlist, find a specific pattern, and insert a quotation mark in front of it. At a shell terminal, I would do this with a sed command:

     

    sed 's;pattern;"pattern;' file1>file2

    mv file2 file1

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jorankin
    jorankin over 14 years ago

    I want to be able to put quotation marks in a shell command.

     

    the above example wasn't a very good one since one could do the above with or without quotation marks. In the shell, to print "test", you have to do echo "\"test\"". It would be even more fun in SKILL...ugh...

     

    In my specific case, I want to take a netlist, find a specific pattern, and insert a quotation mark in front of it. At a shell terminal, I would do this with a sed command:

     

    sed 's;pattern;"pattern;' file1>file2

    mv file2 file1

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information