Timeline for How to grep all lines from one file in specific column in multiple other files?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 23, 2019 at 19:06 | comment | added | Kusalananda♦ | @anikaM I believe so, yes. | |
| Apr 23, 2019 at 19:01 | comment | added | anikaM | Is it like this: xargs -I {} awk '$8 == "Yes" { title = title OFS $2 } END { print FILENAME, title }' {}.xls < combined.txt | |
| Apr 23, 2019 at 18:36 | comment | added | Kusalananda♦ |
@anikaM You would change $5 to $2 and use just FILENAME instead of substr(...).
|
|
| Apr 23, 2019 at 18:19 | comment | added | anikaM | Hi How would I change this command so that it prints me file name as it is and 2nd column which is called "PROBE", instead of "GENE_TITLE" that I have now? | |
| Apr 22, 2019 at 21:13 | vote | accept | anikaM | ||
| Apr 22, 2019 at 21:03 | history | answered | Kusalananda♦ | CC BY-SA 4.0 |