문제

I have a tsv file with thousands of tab delimmited lines and I need to search for someones name and then copy the entire line to a seperate file over and over. Can anyone help? Thanks!!

도움이 되었습니까?

해결책

Question is vague but this should generally work:

grep "some-name" *.tsv > ouput

다른 팁

It sounds very simple:

grep "someone's name" tsv-file > separate-file

What's the catch? Is the name in one or two fields? Middle initials?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top