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

Daniel Wei's CFD Blog: (http://lakeat.co.nf/)

Register Blogs Members List Search Today's Posts Mark Forums Read

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 1533 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 1529 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 1930 Comments 1 lakeat is offline Edit Tags

All times are GMT -4. The time now is 13:21.