Question
what are the three following commands(using linux) 5)Assume you are editing the main.cpp file. Write a vim command to split every ling longer than 40
what are the three following commands(using linux)
5)Assume you are editing the main.cpp file. Write a vim command to split every ling longer than 40 characters into multiple lines, each of which is no longer than 40 characters (but may be shorter), and do not split any quoted strings.
6)Assume you are editing the main.cpp file. Write a vim command to change every singular "<" symbol to a double quote ("), but do not convert any double "<" symbols, i.e. leave the "<<" operators alone.
7)Assume you are editing the main.cpp file. Write a vim command to replace all newline characters (' ') with semicolons (;). The result should be a file with a single line containing ";" characters where the newlines used to be.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started