Assignment Requires Use Linux Scripting Skills Create Script Remove Ctrl M Carriage Return Q37218003

This Assignment requires that you use your Linux scriptingskills to create a script to remove the ctrl-M (Carriage Return).You already have the knowledge on how to use “sed” to strip out thectrl M’s.

The script should take two variable inputs, the first variableis the name of the existing file that needs to be fixed and thesecond should be the name of a new file that your script willcreate with the ctrl-M removed.

fixlines.sh extra_credit.sh fixed_script.sh


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.