how can i print all BUT the last field. ie something like: echo one.two.three.four | awk -F "." '{print <all from $1 to $(NF-1)>}' =one.two.three - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html