What is Awk and Sed?
Answer / shoaib
sed is a stream editor. It works with streams of characters on a per-line basis. It has a primitive programming language that includes goto-style loops and simple conditionals (in addition to pattern matching and address matching). There are essentially only two "variables": pattern space and hold space. Readability of scripts can be difficult. Mathematical operations are extraordinarily awkward at best.
awk is oriented toward delimited fields on a per-line basis. It has much more robust programming constructs including if/else, while, do/while and for (C-style and array iteration). There is complete support for variables and single-dimension associative arrays plus (IMO) kludgey multi-dimension arrays. Mathematical operations resemble those in C. It has printf and functions. The "K" in "AWK" stands for "Kernighan" as in "Kernighan and Ritchie" of the book "C Programming Language" fame (not to forget Aho and Weinberger). One could conceivably write a detector of academic plagiarism using awk.
Both programs use regular expressions for selecting and processing text.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write short note on Dynamic memory allocation algorithm.
If you tries to mount a share ( home directory )in a client machine, and it fails how do u approach?
what basically a system call is?
what is the operating system of mac?
absolute path gives the location a file or directory in reference to a rile directory while relative path is a path given file starting from another file. explain?
directories can be implemented either special files that can only be accused in limited ways or can be implemented as ordinary data files. what are advantages and disadvantages of this approach?
what is difference between fat & ntfs
40 Answers Allied Digital, Bluecom, DynPro, Polaris, RMIC,
In the Disk Management for all the drives , "Delete Partition" is in disabled mode ? so plzzz help me to get in enabled mode .
some os have a tree structure file system that limits the depth of a tree and small number of levels.what limit does this have on user? how does this simplify file system design?
Explain the process control block of UNIX ?
Define dynamic memory allocation algorithm?
what is busy waiting?