display output on one line. this is a exerpt from my kshell script
cat <filename> |egrep -v Pattern1|egrep -v Pattern2|egrep -v Pattern3 |egrep -v Pattern3
which displays
Name=john, Age=24, Occupation=Sales
Name=mike, Age=34, Occupation=Unemployed
Name=mike, Age=34, Occupation=Unemployed
Name=mike, Age=34, Occupation=Unemployed
would like to get em all on one line with or without spaces