Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 1997 10:13:24 -0500
From:      abbott on blue <jabbott@blue.pca.state.mn.us>
To:        questions@FreeBSD.ORG
Subject:   Unix question.  Regular expressions in commands?
Message-ID:  <3.0.3.32.19971020101324.00a53e90@blue.pca.state.mn.us>
In-Reply-To: <199710201407.PAA17582@andromeda>
References:  <28262143@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
I guess this is kind of a newbie unix question.  I have just learned about
regular expressions within perl and so am trying to use them everyplace. :-)

>From a command line what I would like to do is....
# mv *.[dump asc dat txt clean] tablecreation

but this does not work.  I end up having to...
# mv *.dump tablecreation
# mv *.asc tablecreation
# mv *.dat tablecreation
# mv *.txt tablecreation
# mv *.clean tablecreation

Is there anyway to do regular expression matching within commands?  

Thanks.
--ja



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