RosettaCodeData/Task/Start-from-a-main-routine/Sed/start-from-a-main-routine.sed
2017-09-25 22:28:19 +02:00

12 lines
199 B
Sed

# This code runs only for line 1.
1 {
i\
Explain-a-lot processed this file and
i\
replaced every period with three exclamation points!!!
i\
}
# This code runs for each line of input.
s/\./!!!/g