bash - Shell Process substitution and xargs Command doesn't work -


I am using process replacement for piping awk results for GPS and sd

  grep "." | Sed ' | * \: || ' (ARR [A] & gt; 2) {print A, ARM [A]}}} for \ & lt; (Awk '[arr [$ 5' \ t "$ 6] ++} (ARE [A] & gt; 2) {print A, ARM [A]}} (ARE [A]] (ARE [AR] ] {AR [AR] [AD] [AR [AR [$ 5] \ "" $ [6] ++}} 'File2) | Awk' {cnt [$ 0] ++} END {for (in RE CNT If (CNT [REC] == 1) Print REC '| Awk' {print $ 1} ' 

However, pipe for each result does not work for xarg

  grep ". | | | | Sed '| | * \: ||' | Xargs -i {} grep -E {} $ {probeFileLog} $ {ObjectServerLog}  (awk ' {Arr [$ 5 '\ t "$ 6] ++} for end {(arr one in one) {if (arr [a (AR AR) {if (ARR [AR] [AR] [AR] [AR] [AR [$ 5] \ 'AR [AR [5 dollars] \ t "$ 6] ++} and {print A, ARR [A]}}} 'file1) A]> 2) {print a, arr [a]}}} File2) for awk '{cnt [$ 0] ++} END {(CNC in REC) if (CNT [REC] == 1) print REC' | Xargs -i {} grep -E {} $ { ProbeFileLog} $ {ObjectServerLog} outputs to  
  749963941 3 4 749963940 3 3 749963939 3 3 749963937 3 3 749963935 3 3 749963933 3 3 749963941 3 4 749963938 3 3 749963936 3 3 749963934 3 3 749963932 3 3 

In its first line (Which will be easy to read with new lines), you have:

  grep "." Sed ' | * \: || ' & Lt; (Awk ...)  

Whatever is effective in this way:

  grep "." | Sed ' | * \: || '   

> Reads / dev / fd / 63 instead of stdin , so it ignores any output from grep . Meanwhile, grep is waiting with input from the console I would have thought that you should have seen it, because after it ends you have to interrupt the command.

I think what you meant was awk sending output to grep :

  grep "." & Lt; (Awk ...) | Sed ' | * \: || '  

And if you do this, then it will work with " xargs ::

  grep". & Lt; (Awk ...) | Sed ' | * \: || ' | Xargs ...  

By the way, grep "." will match any empty-empty line I'm not sure whether this is what you want to do or not.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -