Dag-Erling Smørgrav wrote: >That doesn't work, however, and neither does "1,"; only "X,Y" works, so >if you want to substitute in the entire file, you first have to find out >how long it is, then manually type in that number. > > > Does 1,$ not work? That's what I always used in ed. --Alex