• 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
    Ted,

    This doesn't really have to do with the sed command. It is more fundamental than that. I want to be able to make a string which has a " inside of it. This sounds straightforward, but it isn't. I think I figured it out. You have to put a exit character in front of the " to put it inside of a string for a system command. For example, when I do the following:
    system(strcat("echo " "\""  "test" "\""))

    Returns: test in my shell.

    Thanks,
    John
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jorankin
    jorankin over 14 years ago
    Ted,

    This doesn't really have to do with the sed command. It is more fundamental than that. I want to be able to make a string which has a " inside of it. This sounds straightforward, but it isn't. I think I figured it out. You have to put a exit character in front of the " to put it inside of a string for a system command. For example, when I do the following:
    system(strcat("echo " "\""  "test" "\""))

    Returns: test in my shell.

    Thanks,
    John
    • 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