[plug] re: awk

Cameron Patrick cameron at patrick.wattle.id.au
Sun Jul 20 23:33:39 WST 2003


On Sun, Jul 20, 2003 at 11:26:05PM +0800, Craig Ringer wrote:
| 
| So you weren't talking about installed RPMs in the RPM db at all, but 
| rather a directory full of files.... OK.
| 
| "man cut"
| 
| This will do what you want.
| 

Surely you mean sed?  ls -1 | sed 's/.i386.rpm$//g' should do the trick.

CP.



More information about the plug mailing list