Questions LLC
Login
or
Sign Up
Ask a New Question
Programming
Text Processing
Regular Expressions
Write a GREP command that would list lines from the "text.txt" file that contain a character “a” not followed by a character “i” and end with any numeric character.
1 answer
grep -E '[^i]a[0-9]$' text.txt
You can
ask a new question
or
answer this question
.
Related Questions
What does a bibliography list? Select the two correct answers.(1 point)
how long it took the author to write the text sources the
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
Step 1 (2 marks): Create a file called YourFirstName_LastName_music . This file will contain information about your CD
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
What is the meaning of the euphemism character lines in this sentence?
The character lines on Grandfather’s face create a rich
1. The following grep command will search the f.txt file for lines start with either upper- or lower-case character w and end
Write a GREP command that would list lines from the "text.txt" file that have character 3, 5, or 7 as a second character and do
14. The following grep command will search the f.txt file for all lines containing any stand-alone three digit number.
a) Grep
20. The following grep command will search the f.txt file for lines containing any number of spaces (at least one space must be