I have this file:N104    F1810N104    F3810N104    F810N104    F305and a script to grep an input.Script:enter inputread inputcat file | grep $inputwhen I input 810, I get the output:N104    F1810N104    F3810N104    F810I need the output:N104  F810Can you help?
selecting specific string in a field
shell script;text processing;grep