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

Uncategorized

Register Blogs Community New Posts Updated Threads Search

Uncategorized Entries with no category
Old

Useful Threads

Posted August 10, 2012 at 14:50 by lakeat (Daniel Wei's CFD Blog: (http://lakeat.co.nf/))

http://www.cfd-online.com/Forums/ope...residuals.html
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 1876 Comments 0 lakeat is offline Edit Tags
Old

新年快乐

Posted January 20, 2012 at 11:32 by lakeat (Daniel Wei's CFD Blog: (http://lakeat.co.nf/))
Updated July 6, 2012 at 23:09 by lakeat

Happy Chinese New Year!
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 1848 Comments 0 lakeat is offline Edit Tags
Old

Find & Replacement & Delete

Posted January 19, 2012 at 12:13 by lakeat (Daniel Wei's CFD Blog: (http://lakeat.co.nf/))

Here are some tips, to show that linux is really very powerful, once you know how to use it.

Example-1
If you want to find or replacement, you dont need to open an editor, gedit, or vi. You can just simply do the following (choose one).
Why not just vi and :%s....? Because, the following command can be implemented in a shell scripts, so once you have dozens of files to operate, this is the better way.

perl -e "s/old_string/new_string/g"
...
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 2480 Comments 1 lakeat is offline Edit Tags

All times are GMT -4. The time now is 16:43.