[comp.mail.sendmail] Fc |

brian@natinst.com (Brian H. Powell) (07/28/90)

     I'm trying to hack into a sendmail.cf something like Sun's NIS ($%y)
lookup on a non- NIS machine.  If you think I'm going about this the wrong
way, speak up.
     Basically, I can, with grep, awk, sed, sort and uniq create a list
of simple (non-domain-qualified) hostnames in my local domain from my
/etc/hosts.  My question is:  Can the "Fc |" syntax be used with a command
line that includes pipes, or is it restricted to a single command.  I.e., can
I do something like:

Fy | grep -v '^#' /etc/hosts | awk '{print $2}'

If so, do I need quotes around the entire command or other syntactic sugar?
     Please respond by mail.

Brian H. Powell, M/S 56-14			National Instruments Corp.
	brian@natinst.com			6504 Bridge Point Parkway
	uunet!cs.utexas.edu!natinst!brian	Austin, Texas 78730-5039
	AppleLink:NATINST			(512) 338-9119