Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

linux - What's the relationship between sed, grep, find, awk, gawk, which one is preferred? -


i'm new linux/unix. find task can accomplished many ways using these commands. there relationship between them? or 1 preferred? 1 outdated?

thanks.

see so 366980 discussion differences between perl, python, awk , sed.

there 4 distinct commands in list of five; awk , gawk closely related, gnu awk being gnu implementation of awk.

  • find locating files in set of directories based on file characteristics such name or modification time. gnu find has many more capabilities traditional or posix versions of find.

  • grep locating content within files using regular expressions control selected. gnu grep has many more capabilities traditional or posix versions of grep.

  • sed modifying contents of files using editing commands, including regular expressions. gnu sed has many more capabilities traditional or posix versions of sed.

  • awk pattern matching , formatting language. programming language in way other tools mention not. when needed, useful. however, perl , python have capabilities of awk , many extras, many people use them instead of awk. gnu awk has more capabilities traditional or posix versions of awk.

so, tools list different jobs, can work in many ways. 1 other tool should aware of xargs, takes lists of files , runs specified command on each of files in turn.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -