PLEASE NOTE: this server, secure.csse.uwa.edu.au, will be unavailable on WEDNESDAY 7th December, from 1pm until 4pm.
Web-based programs, such as csmarks, cssubmit, and the help fora, will all be unavailable.
  It's UWAweek 49

help2003/help4407

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 2 other people reading this forum.


 UWA week 16 (1st semester, non-teaching week) ↓
SVG not supported

Login to reply

👍?
helpful
sed  (both)
10:21am Wed 20th Apr, Peter M.

Using sed, suppose I wanted to replace any character that was member of a class of characters, e.g. punctuation. I know I can use a POSIX character class as a RegEx to do this. However, what if I wanted to exclude one or more characters in this class from the replacement? I tried using sed -e 's/[<list of characters>]/<replacement character>/g' but that doesn't seem to work...

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