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 1 other person reading this forum.

 UWA week 15 (1st semester, week 7) ↓
SVG not supported

Login to reply


I'm a bit lost as to when we can use ed-style pattern matching vs shell, and how the command interpreter would understand what "language" we used. For example, if I used ".*" in say, a case statement, when matching string patterns, how would the system know if I meant "search for a string pattern starting with "." and ending with anything or nothing" (shell), or "search for any string including an empty string" (ed)? Is it to do with certain commands which offer support for ed (like grep), while others don't? Is there a way to specify that you mean ed-style vs shell?

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