home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10408 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!decwrl!netcomsv!resonex!michael
  3. From: michael@resonex.com (Michael Bryan)
  4. Subject: Re: modify the value of variables in XDB
  5. Message-ID: <1992Sep14.130847.23009@resonex.com>
  6. Organization: Resonex Inc., Sunnyvale CA
  7. References: <ghsu.716481890@critical>
  8. Date: Mon, 14 Sep 1992 13:08:47 GMT
  9. Lines: 24
  10.  
  11. In article <ghsu.716481890@critical> ghsu@critical.nswc.navy.mil writes:
  12. >
  13. >   The subject says exactly what I want to do.   The man page for xdb
  14. >does have a section on "Data Viewing and Modification Commands".   But
  15. >there is no command to modify data described there at all.
  16.  
  17. Use the incredibly-well-documented-intuitively-obvious command:
  18. <note the *heavy* sarcasm above>
  19.  
  20.         p varname = newvalue
  21.  
  22. Yes, that's really the "p" command, used for printing values.
  23. Adding the "=" turns it into a modification command.  And it's
  24. oh-so-nice that the "help data" command within xdb doesn't tell
  25. you how to do this.  I forget where I found it, but it's somewhere
  26. in the printed documentation.
  27.  
  28. We now return you to your regularly scheduled lack of sarcasm...
  29.  
  30. -- 
  31. Michael Bryan  michael@resonex.com  "Milk and Cheese in '92!"  |     ,_,
  32. "Lovers are like... dentures.  You don't want them in your     |    /oo \
  33. mouth all night, but you sure as hell want them within arm's   |    <>__|
  34. reach in the morning!"  --- Miss Elmira Gulch                  |    |  U|
  35.