[102209] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Single Substitution

daemon@ATHENA.MIT.EDU (Ramon Gandia)
Tue Dec 1 21:59:18 1998

Date: Tue, 01 Dec 1998 17:54:26 -0900
From: Ramon Gandia <rfg@nook.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



Darren Greer wrote:
> 
> Is there a way on Linux to do a single character substitution.
>         Instead of doing a cp /whatever/as*
>         Do a cp /whatever/as@df (or something similar)?

as?df

The asterisk means "all, up to and including, or from here on"
and the question mark "just this character position"

as?df

-- 
Ramon Gandia ==== Sysadmin ==== Nook Net ==== http://www.nook.net
285 West First Avenue                                rfg@nook.net
P.O. Box 970                                    tel. 907-443-7575
Nome, Alaska 99762-0970 ======================= fax. 907-443-2487


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post