Re: FrontPage to Apache...

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

 




Bruce wrote:

> Or how can I convince sed to dump anything between two //'s i.e. /Windows/

	sed -e 's,/[^/]*/,,g'
or
	sed -e 's,/.*/,,g'

depending upon whether you want the shortest or longest match (the
former will change /foo/bar/baz to bar/baz; the latter will change it
to just baz).

-- 
Glynn Clements <glynn@sensei.co.uk>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux