Question: Using UNIX commands (or the terminal application on Mac) Write the command to retrieve the accessions number from the files called accessions.txt with the following
Using UNIX commands (or the terminal application on Mac)
Write the command to retrieve the accessions number from the files called accessions.txt with the following criterion:
- contain the number 5
- contain the letter d or e
- contain the letters d and e in that order
- contain the letters d and e in that order with a single letter between them
- contain both the letters d and e in any order
- start with x or y
- start with x or y and end with e
- contain three or more digits in a row
- end with d followed by either a, r or p
using this file:
accessions.txt
xkn59438 yhdck2 eihd39d9 chdsye847 hedle3455 xjhd53e 45da de37dp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
