Remove Punctuations

Write a bash script that removes all the punctuations in the given file named input

For this question, assume that all of the following symbols are punctuations:

! @ # $ % ^ & * ( ) _ - + = { } [ ] ; : ' " ` / > ? . , < ~ | \


Assume that input has the following content:

This's the sunny day.
It is the sunny day, we can go out.

Your script should output the following:

Thiss the sunny day
It is the sunny day we can go out
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a doubt? Checkout Sample Codes for more details.
Start solving Remove Punctuations on Interview Code Editor
Sign Up
to access hints and editorial solutions for Remove Punctuations


Click here to start solving coding interview questions