[Ilugc] Help on Vi Editor

  • From: shivanan@xxxxxxxxxxxxxxxxx (Haran Shivanan)
  • Date: Tue Mar 15 06:28:17 2005

On Mon, 2005-03-14 at 15:14 -0800, Suraj wrote:


$ cat usersfile | perl -pi -e 's/$/\@domain.com/' >outfile
$ sed usersfile -e "s:$:@domain.com:g"
:)

-- 
"If at first you don't succeed,
 lower your standards and try again"


Other related posts: