Search Results

Search: Posts Made By: nrgbooster
3,254
Posted By nrgbooster
pludi, radoulov: Great examples; totally hit...
pludi, radoulov:

Great examples; totally hit the essence.
3,254
Posted By nrgbooster
Then I must have failed to understand the...
Then I must have failed to understand the underlying mechanism of pipe. I had always thought that the command in a pipe will never do its job until the preceding one completes and hands over the...
3,254
Posted By nrgbooster
Sorry, I'm lost here... If this is the...
Sorry, I'm lost here...



If this is the case how "sort" can know the end of data it is to process? For example, if we run "cat file | sort" in shell the second command sort will get the entire...
3,254
Posted By nrgbooster
Thanks, Radoulov. Your code explicitly clarified...
Thanks, Radoulov. Your code explicitly clarified how AWK behaves when it comes to pipe. It really helps me get a lot. But,

When I slightly changed your code as follows:


awk 'BEGIN {
n =...
3,254
Posted By nrgbooster
A twisted feature of sort when called in awk
Hello,

In the book Classic Shell Scripting, there is an example showing how you can call a shell command through awk's pipe:


for (name in telephone){
print name "\t" telephone[name] |...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy