Re: A challenge for UNIX wizards
Article: 7882 of alt.hackers From: seb3@harvey.gte.com (steve belczyk) Newsgroups: alt.hackers Subject: Re: A challenge for UNIX wizards Date: 25 May 1995 21:20:16 GMT Organization: GTE Laboratories, Waltham, MA Lines: 13 Approved: bin@sh Message-ID: 3q2sag$37o@ceylon.gte.com NNTP-Posting-Host: harvey.gte.com Status: RO
I'm no Unix wizard, so I must be missing something. #! /bin/sh # for i in `ls *.man` do mv $i `basename $i man`1 done Just don't have a directory ending with .man! (Or use find instead of ls.) - steve belczyk