> > Because I want to: > > grep $i /etc/passwd || grep $i passwd.new >> > /etc/passwd Why not grep $i /etc/passwd || echo "what you want" >> /etc/passwd. And if you really want have to passwd.new why it should be temporary, why you have to remove it ? Valery > > in the passwd, group, shadow, etc files. This lets > me test if they're > already there and add them if not, preventing > duplicate entries. > > ciao! > > leam > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list