• 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. print quote mark in the string( apologize if it has been...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 15518
  • 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

print quote mark in the string( apologize if it has been posted too many times)

imagesensor123
imagesensor123 over 13 years ago

Hi all,

   i would like to use the command in shell:

  grep "Vout" capinfo.txt > cap.out

so the problem is how to generate this for ipcProcess, some others posted this in this forum, but i hasn't been well solved.

so let's make it clearly.

i have tried strcat("grep" "\"" " Vout" "\"" "capinfo.txt>cap.out" ) =>"grep \"Vout\" capinfo.txt>cap.out",

owing to these two backslash , the script can not be exacuted in shell. 

could you help me? 

  • Cancel
Parents
  • imagesensor123
    imagesensor123 over 13 years ago

     Hi,

      thanks, it works well, and i get the following results:

    Vout : Vout     fixed=63.8 a       variable=5.58258 f    sum=5.64638 f   
    Vout : Vout     fixed=63.8 a       variable=5.60251 f    sum=5.66631 f   
    Vout : Vout     fixed=63.8 a       variable=5.65443 f    sum=5.71823 f   
    Vout : Vout     fixed=63.8 a       variable=7.12683 f    sum=7.19063 f   
    Vout : Vout     fixed=63.8 a       variable=7.09192 f    sum=7.15572 f   
    Vout : Vout     fixed=63.8 a       variable=7.02311 f    sum=7.08691 f   
    Vout : Vout     fixed=63.8 a       variable=5.69755 f    sum=5.76135 f   
    Vout : Vout     fixed=63.8 a       variable=5.70667 f    sum=5.77047 f   
    Vout : Vout     fixed=63.8 a       variable=5.72751 f    sum=5.79131 f   
    Vout : Vout     fixed=63.8 a       variable=5.71754 f    sum=5.78134 f

    how can i get the value in the last column? i mean , i want to get the value 5.64638f for the first row,

    and 5.66631 for the second row? thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • imagesensor123
    imagesensor123 over 13 years ago

     Hi,

      thanks, it works well, and i get the following results:

    Vout : Vout     fixed=63.8 a       variable=5.58258 f    sum=5.64638 f   
    Vout : Vout     fixed=63.8 a       variable=5.60251 f    sum=5.66631 f   
    Vout : Vout     fixed=63.8 a       variable=5.65443 f    sum=5.71823 f   
    Vout : Vout     fixed=63.8 a       variable=7.12683 f    sum=7.19063 f   
    Vout : Vout     fixed=63.8 a       variable=7.09192 f    sum=7.15572 f   
    Vout : Vout     fixed=63.8 a       variable=7.02311 f    sum=7.08691 f   
    Vout : Vout     fixed=63.8 a       variable=5.69755 f    sum=5.76135 f   
    Vout : Vout     fixed=63.8 a       variable=5.70667 f    sum=5.77047 f   
    Vout : Vout     fixed=63.8 a       variable=5.72751 f    sum=5.79131 f   
    Vout : Vout     fixed=63.8 a       variable=5.71754 f    sum=5.78134 f

    how can i get the value in the last column? i mean , i want to get the value 5.64638f for the first row,

    and 5.66631 for the second row? thanks

    • 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