This is the mail archive of the
mailing list for the Cygwin project.
sed does not work as expected
- From: dontspam at gmx dot net
- To: cygwin at cygwin dot com
- Date: Mon, 16 Sep 2002 15:59:03 +0200 (MEST)
- Subject: sed does not work as expected
I would like to transform a string with
echo ./a/a/a/w | sed -n '1,$ s/[^\/]*/../gp'
but I expected to get
Can someone tell what's going wrong?
GMX - Die Kommunikationsplattform im Internet.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html