in reply to Re^2: add text to each line of a filein thread add text to each line of a file
ypcat passwd |sed 's/:.*/@domain.local/' [download]