Hello,I am trying to use gnu parallel and grep as follows
cat tmp | parallel -j1 grep "^{} " ~/datafile.txt (notice one space between {}
and ")One line in tmp contains 101and unfortunately with the above statement I
get101 299.2599 -3.65149011013 185.00003 -6.74681921014 188.6323 9.7729794
which I don't wantgrep "^101 " datafile.txt works fine thoughI changed grep
"^{} "with grep "^{}\"but that too gives same results as before.Is there an
easy solution for this?Thanksshantanu
- how to use gnu parallel and grep with a space Shantanu Unknown
