Questions LLC
Login
or
Sign Up
Ask a New Question
Programming
Shell Scripting
Text Manipulation
Write a SED command that would delete lines from the "text.txt" file that contain any two identical numbers located next to each other. For example, lines that contain “00” or “88” should be deleted
1 answer
sed -i '/00\|11\|22\|33\|44\|55\|66\|77\|88\|99/d' text.txt
You can
ask a new question
or
answer this question
.
Related Questions
Why might you need to convert a file to another file type?
A. It is a music or image file. B. The file is old. C. The file uses a
Using a single command with wild cards, move song.mp3, song.wav, letter01.txt and letter02.txt to deleted folder. Do not
Your mother asks you “¿Tienes sed?” How do you answer yes to her question in Spanish?
(1 point) Responses Sí, tengo sed.
our mother asks you “¿Tienes sed?” How do you answer yes to her question in Spanish?
(1 point) Responses Sí, tengo sed.
Li is trying to locate a PDF file on a thumb drive with a lot of other files on it. What could Li look at to help him find the
Write a SED command that would delete lines from the "text.txt" file that contain any two identical numbers located next to each
3. The following sed command can be used to clean up files by removing empty lines from the content of the Sed_File.txt file:
a)
Write an AWK command command to select the lines from the “text.txt” file that contain any of the following values 00, 03,
Write an AWK command command to select the lines from the “text.txt” file that contain any of the following values 00, 03,
Write an AWK command command to select the lines from the “text.txt” file that contain any of the following values 00, 03,