I have this following structure in file.txt
NTL|OPC|RN1|CNL|NUE|NUF|TPB|EIP
11212455464 |16384|55320| |2799819E405 | |2|
32545687784 |16384|55320| |1194155B581 | |2|
54565487788 |16384|55321| |8599132D051 | |2|
23154688789 |4013|55115|11529|163624D585 |16D7620595 |1|
...
and I want this result (the title plus the queried value)
NTL|OPC|RN1|CNL|NUE|NUF|TPB|EIP
23154688789 |4013|55115|11529|163624D585 |16D7620595 |1|
I tried something like this
head -1 file.txt | grep 23154688789
but it does not work.