On 2006/05/31 23:21, Bachman Kharazmi wrote: > # cat /etc/hostname.* > inet 192.168.1.100 255.255.255.0 192.168.1.255 vhid 1 pass foo > inet 192.168.10.50 255.255.255.0 192.168.10.255 vhid 2 pass bar > inet 192.168.254.254 255.255.255.0 NONE > dhcp NONE NONE NONE > up syncif fxp0 > inet 192.168.10.100 255.255.255.0 NONE
this doesn't answer your question, but can I recommend this, which I find useful in many situations since it displays the lines from the file prefixed with the filename, so people can tell which line is from which file: $ grep . /etc/hostname.* You can use head/tail to similar effect too, but grep gives more compact output, also particularly good for reading pkg/DESCR of several ports at once.

