Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 00:39:07 -0500
From:      Anthony Schneider <anthony@x-anthony.com>
To:        freebsd-chat@freebsd.org
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-03:99.freebsd-sa
Message-ID:  <20030405053907.GA6471@x-anthony.com>
In-Reply-To: <20030401.204134.48514670.hrs@eos.ocn.ne.jp>
References:  <20030401.204134.48514670.hrs@eos.ocn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Y"KNOW, sed accepts filenames as arguments.

(it also really doesn't need the -e)

Love,
Picky.In.NewYork.

> Execute the following commands:
> 
> a) for advisories issued before 2000:
> 
>  % cat /path/to/FreeBSD-SA-XX:XX.txt.asc\
>    | sed -e 's/FreeBSD-SA-\([0-9]*\):\([0-9]*\)/FreeBSD-SA-19\1:\2/g'
> 
> b) for advisories issued between 2000 and 2099:
> 
>  % cat /path/to/FreeBSD-SA-XX:XX.txt.asc\
>    | sed -e 's/FreeBSD-SA-\([0-9]*\):\([0-9]*\)/FreeBSD-SA-20\1:\2/g'
> 
> c) for advisories issued after 2100:
> 
>  % cat /path/to/FreeBSD-SA-XX:XX.txt.asc\
>    | sed -e 's/FreeBSD-SA-\([0-9]*\):\([0-9]*\)/FreeBSD-SA-21\1:\2/g'

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE+jmv7KUeW47UGY2kRAnvDAJoD6qFifiwsCAteaalXTmJy+MEpSwCeIyem
tS0OM6aTTfaan8QvFOMc4ZY=
=LRPo
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405053907.GA6471>