What UNIX commands would I use for this? I know I need to use paste, tr, I think
ID: 3813172 • Letter: W
Question
What UNIX commands would I use for this? I know I need to use paste, tr, I think
The structure of email addresses is as followed: username@imapNumber.asu.edu
You are to reformat the addressbook as followed:
LastName FirstName Username EmailAddress
The requirements/observations for our targeted format:
Notice that there is a new field, the username.
The field separator for the final display is the tab. Note that the initial file did not have a uniform field separator
The data must be sorted by last name
The imap number must be removed from the email addresses. For example, “madhu@imap2.asu.edu” must now be shown as madhu@asu.edu
Explanation / Answer
1.command to sort by last name
ls -l | sort -k 1
2. command to remove imap address
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.