Shell Script Searching For a Record In The File
im trying to display a record... the user has to enter the ***** number to search for n then my script should look for any record with tht number n then display the whole record...
my data file is somthing like this :
9000232 Deo Vik V Media Technician 12/05/2002
9998765 Cassy John M Reporter News 12/08/2001
...
.
..
..
..............
the user will enter a number or maybe just part of it [not the whole number] n then the program should look for tht matching numbers, if any found then display tht on the screen... the whole record...
so if user enters 9000232 then the program should then print :
9000232 Deo Vik V Media Technician 12/05/2002
can someone pliz pliz help...
thanx you in advance....
|