Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
edit XML file using variable in shell script.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jc6" data-source="post: 1129424" data-attributes="member: 85038"><p>Thanks guys, i was able to figure it out.. This seems to work.</p><p>sed "s/computer/$COMPUTERNAME/" /test.xml > /test2.xml</p></blockquote><p></p>
[QUOTE="jc6, post: 1129424, member: 85038"] Thanks guys, i was able to figure it out.. This seems to work. sed "s/computer/$COMPUTERNAME/" /test.xml > /test2.xml [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
edit XML file using variable in shell script.
Top