W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 1996

HTTP-WG Mailing List Archive for Q1, 1996: Re: URI Pattern Syntax

From: <pjc@tis.com>
Date: Mon, 26 Feb 96 14:29:58 -0800
Message-Id: <199602261929.OAA10481@trusted.com>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
re: http://www.ics.uci.edu/pub/ietf/http/hypermail/1996q1/0468.html

A real unix hacker would tell you that to do
      rename *.jpeg *.jpg

you can type 

      ls *.jpeg | sed -e "s/\(..*\).jpeg/mv \1.jpeg \1.jpg/"| /bin/sh

Uses simple tools that unix always has.. (:-> no new fangled languages
needed...

You can do the same over a filesystem..

      find / -name "*.jpeg" -print | sed -e "s/\(..*\).jpeg/mv \1.jpeg 
\1.jpg/"| /bin/sh

Simple tools used to do complex jobs..

Pete.
Received on Monday, 26 February 1996 11:35:56 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:42:57 UTC