how to double space text?

steve%brl-bmd at sri-unix.UUCP steve%brl-bmd at sri-unix.UUCP
Sat Mar 17 02:32:01 AEST 1984


From:      Stephen Wolff <steve at brl-bmd>

When compiled,
		main(){
			char c;
			while(1){
				putchar(c=getchar());
				if(c=='\n')putchar(c);
			}
		}
works as a filter.  So does

		awk '{print; printf("\n");}'

but neither is blindingly efficient -- except for the programmer.



More information about the Comp.unix mailing list