hi all,
I have this file [myfile.txt] with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|
aera|bprb|male|cccc|pppp||15000|20|
.
.
. // and so on
So what I want to do is to take out (to a file) the missing fields as following format:
<FName> <LName> <Company> Missing Field/s:<> <>
example output:
eeee asdg gggg Missing Field/s: Salary Age
aara bdbm kkkk Missing Field/s: Salary
CAN ANYONE HELP ME PLEASE !!!!!!!!!!!!!!!