[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [1/2OT] something about sed



lina wrote:
> Javier Barroso wrote:
> >or using extended regular expressions, you can remove all escape stuff :
> >sed -re 's/([^ ]+)( +)([^ ]+)/\3\2\1/g'
> 
> Ha ... I didn't realize the -r can be used.
> 
> sed -re 's/([^ ]+) ([^ ]+) ([^ ]+)/\3 \2 \1/g'

Lina, I am dissappointed and hurt that my messages aren't of high
enough quality to make the cut for your reading.  What may I do to
improve them?  :-)

  http://lists.debian.org/debian-user/2012/02/msg01583.html

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: