diff --git a/search-and-replace/replace_text.go b/search-and-replace/replace_text.go index 43f41f65..d0145253 100644 --- a/search-and-replace/replace_text.go +++ b/search-and-replace/replace_text.go @@ -44,5 +44,5 @@ func main() { os.Exit(1) } - fmt.Println("Finished replacing %s by %s and saved the output file at %s", pattern, replacement, filePath) + fmt.Printf("Finished replacing %s by %s and saved the output file at %s\n", pattern, replacement, filePath) } diff --git a/search-and-replace/test-data/result.pdf b/search-and-replace/test-data/result.pdf new file mode 100644 index 00000000..3280c4de Binary files /dev/null and b/search-and-replace/test-data/result.pdf differ