CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: akidess
Forum: OpenFOAM Programming & Development April 6, 2012, 07:34
Replies: 21
Views: 2,889
Posted By akidess
Yes. Learn how to use sed...

Yes. Learn how to use sed (http://en.wikipedia.org/wiki/Sed) or awk (http://en.wikipedia.org/wiki/AWK) to manipulate text files.
Forum: OpenFOAM Programming & Development April 5, 2012, 08:05
Replies: 21
Views: 2,889
Posted By akidess
The file is plain text, but the extension is not...

The file is plain text, but the extension is not important. I usually end them in .sh, but if you prefer you can use .txt, or no extension at all.
Forum: OpenFOAM Programming & Development April 5, 2012, 07:01
Replies: 21
Views: 2,889
Posted By akidess
That's the default behaviour. Just put all the...

That's the default behaviour. Just put all the commands from above in a file that starts with the line "#!/bin/bash", and then run "chmod +x [scriptname]" to make the file executable. That's it.
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 05:25.