|  | @@ -3,7 +3,12 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <para>Install Ed by running the following commands:</para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -<para><screen><userinput>./configure --prefix=/usr &&</userinput>
 | 
	
		
			
				|  |  | +<para><screen><userinput>cp buf.c buf.c-backup &&</userinput>
 | 
	
		
			
				|  |  | +<userinput>sed 's/int u/int u, sfd/' buf.c-temp | \</userinput>
 | 
	
		
			
				|  |  | +<userinput>   sed '/.*\*mktemp.*/d' | \</userinput>
 | 
	
		
			
				|  |  | +<userinput>   sed 's/.*if (mktemp.*/  sfd = mkstemp(sfn);\</userinput>
 | 
	
		
			
				|  |  | +<userinput>   if ((sfd == -1) || (sfp = fopen (sfn, "w+")) == NULL)/' > buf.c</userinput>
 | 
	
		
			
				|  |  | +<userinput>./configure --prefix=/usr &&</userinput>
 | 
	
		
			
				|  |  |  <userinput>make &&</userinput>
 | 
	
		
			
				|  |  |  <userinput>make install &&</userinput>
 | 
	
		
			
				|  |  |  <userinput>mv /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
 |