http://qs1969.pair.com?node_id=875157


in reply to deleting a non-numeric scalar within array

You could do this with in-place edition:

#perl -i.bak -pe 's/1\.1\.1\.1 hostname FQDN\n//g' /etc/hosts


hth,
PooLpi

'Ebry haffa hoe hab im tik a bush'. Jamaican proverb