It's UWAweek 25 (mid-year break)


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 439 articles.
Currently 6 other people reading this forum.

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

Login to reply

10:28pm Wed 17th Apr, Michael W.

"Suan Chuah" <20*0*5*2@s*u*e*t*u*a*e*u*a*> wrote:
> Hi Michael, may I please check if this command echo 'fred cat' | s/[a-z][a-z]*/{&}/ is correct? As when i entered it in terminal it keeps coming back with error. i assumed there is a missing "sed" in the command? just wanted to check with you. Thanks!
Hi Suan Not quite: echo 'fred cat' | sed -e 's/[a-z][a-z]*/{&}/' The single quote are also important (to top the info for sed being instead processed by Bash. Cheers MichaelW

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  5:07AM Sep 06 2023
Privacy policy