It's UWAweek 48


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 564 articles.
Currently 4 other people reading this forum.

 UWA week 23 (1st semester, 1st exam week) ↓
SVG not supported

Login to reply

2:09pm Tue 7th Jun, ANONYMOUS

/,.*[a-zA-Z].*/d. Hi guys, I am having trouble understanding this piece of code using sed on the lines down below. Universal uNIVErsity,one,two,three Queensland uNIversity of Technology,38423,7157,45580,x Flinders University,18995,3812,22807,hi Blunderville University,1,2n,4 Unlimited University,nine,ten,nineteen Edith Cowan University,22202,4239,26441 After its run, it leaves: Edith Cowan University,22202,4239,26441 I don't understand how it works cause the program specifies after every comma, delete any number of charcaters so shouldn't every line be gone and whats the point of the [a-zA-Z] if every lines is going to be gone anyway. And I think its only looking for the characters at the end of every line but shouldn't that be specified by the $sign. Thanks for your help.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy