Script started on Tue Nov 5 23:28:32 1996 % cat stringFile The rain in spain falls mainly in the plain. The rain in spain falls mainly in the plain. Hello % a.out The rain in spain falls mainly in the plain. The rain in spain falls mainly in the plain. Hello 5---Hello 3---The 5---falls 2---in 6---mainly 6---plain. 4---rain 5---spain 3---the Would you like to delete a string? (y/n): y Please input the string: in 5---Hello 3---The 5---falls 6---mainly 6---plain. 4---rain 5---spain 3---the Would you like to delete a string? (y/n): y Please input the string: the 5---Hello 3---The 5---falls 6---mainly 6---plain. 4---rain 5---spain Would you like to delete a string? (y/n): y Please input the string: Hello 3---The 5---falls 6---mainly 6---plain. 4---rain 5---spain Would you like to delete a string? (y/n): n Would you like to modify a string? (y/n): y Please input the string: mainly What dummy integer value do you want?: 567 3---The 5---falls 567---mainly 6---plain. 4---rain 5---spain Would you like to modify a string? (y/n): y Please input the string: The What dummy integer value do you want?: 123 123---The 5---falls 567---mainly 6---plain. 4---rain 5---spain Would you like to modify a string? (y/n): y Please input the string: spain What dummy integer value do you want?: 543 123---The 5---falls 567---mainly 6---plain. 4---rain 543---spain Would you like to modify a string? (y/n): n % exit % script done on Tue Nov 5 23:30:16 1996