rename 's/\.c$/.x/' cumbersome?
Come on. s///? Backslash? $? Not one, but two single quotes?
One may as well type for i in *.c ; mv $i ${i/.c(#e)/.x} or
for i (*.c) { mv $i ${i%c}x }
I really would rather type ren *.c *.x. But then, I don't think in
perl.
On 3 Sep 2002, Goswin Brederlow wrote:
J. Scott Edwards [EMAIL PROTECTED] writes:
On Wed Aug 28 11:37:29 2002 Allan Wind wrote:
On 2002-08-27 21:59:28, J. Scott Edwards wrote:
file slicer (that can slice up a file into different size chunks).
dd?
Yea, that would do it,
On Wed, Aug 28, 2002 at 08:19:54AM +0200, Ola Lundqvist wrote:
little endian hex dump
May be interesting.
Should be an option to od, really.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org[EMAIL PROTECTED]
Marcus Brinkmann The Hurd
On Tue, 3 Sep 2002, Malcolm Parsons wrote:
On Tue, Sep 03, 2002 at 01:07:28PM -0600, J. Scott Edwards wrote:
On Wed, 28 Aug 2002 Marcelo E. Magallon wrote:
Ola Lundqvist [EMAIL PROTECTED] writes:
tab and untab (I just discovered that this can be done with pr).
If it
I had no idea all of these existed (I have heard of zsh). Is there anyway
of finding these things out? Apropos won't work if you don't have them
installed?
Thanks
-Scott
On Tue, 3 Sep 2002, Clint Adams wrote:
And if you use zsh, you don't need to bother with mmv or rename, since
there's
On Wed Aug 28 11:37:29 2002 Allan Wind wrote:
On 2002-08-27 21:59:28, J. Scott Edwards wrote:
tab and untab (I just discovered that this can be done with pr).
tr
I'm not the brightest bulb in the box, so perhaps it's just me, but tr
seems kind of a complicated way to do this. I don't
On Wed, 28 Aug 2002 Marcelo E. Magallon wrote:
Ola Lundqvist [EMAIL PROTECTED] writes:
tab and untab (I just discovered that this can be done with pr).
If it can be done with something else it might not be too necessary. It
is your choice though.
JFYI, it can also be done with
On Wed, 28 Aug 2002 Romain Lerallut wrote:
Thus spake J. Scott Edwards on Tue, Aug 27, 2002 at 09:59:28PM -0600:
file renamer (that can change case).
Just asking: anything that mmv can't do ?
(I guess that you meant 'mv'?)
Anyway, it's similar to the 'rename' command that someone else
On Tue, Sep 03, 2002 at 01:02:20PM -0600, J. Scott Edwards wrote:
On Wed, 28 Aug 2002 Romain Lerallut wrote:
Thus spake J. Scott Edwards on Tue, Aug 27, 2002 at 09:59:28PM -0600:
file renamer (that can change case).
Just asking: anything that mmv can't do ?
(I guess that you meant
On Tue, 3 Sep 2002, I wrote:
On Wed, 28 Aug 2002 Romain Lerallut wrote:
Thus spake J. Scott Edwards on Tue, Aug 27, 2002 at 09:59:28PM -0600:
file renamer (that can change case).
Just asking: anything that mmv can't do ?
(I guess that you meant 'mv'?)
I feel appropriately
J. Scott Edwards [EMAIL PROTECTED] writes:
On Wed Aug 28 11:37:29 2002 Allan Wind wrote:
On 2002-08-27 21:59:28, J. Scott Edwards wrote:
file slicer (that can slice up a file into different size chunks).
dd?
Yea, that would do it, slightly more cumbersome to use.
split ?
MfG
On Tue, Sep 03, 2002 at 01:07:28PM -0600, J. Scott Edwards wrote:
On Wed, 28 Aug 2002 Marcelo E. Magallon wrote:
Ola Lundqvist [EMAIL PROTECTED] writes:
tab and untab (I just discovered that this can be done with pr).
If it can be done with something else it might not be too
And if you use zsh, you don't need to bother with mmv or rename, since
there's zmv.
Anyway, it's similar to the 'rename' command that someone else mentioned.
It renames multiple files like converting all the files in a directory
from upper to lower case
mmv \* \#l1
zmv '(*)' '${(L)1}'
Clint Adams wrote:
alias ren='noglob zmv -W'
ren *.c *.x
Ok, I love zsh and all, but: RUN AWAY!!
I find the last preferable to the more cumbersome syntaxes of rename and
mmv.
rename 's/\.c$/.x/' cumbersome?
--
see shy jo, suffering 4dos flashbacks (see my .zshrc)
pgpl43ZOy1ZMN.pgp
On Tue, Aug 27, 2002 at 09:59:28PM -0600, J. Scott Edwards wrote:
I guess I was worried that they are so trivial that any of the real
programmers on this list could recreate them in 5 minutes with sed, awk,
and perl. :)
But, well ok:
little endian hex dump
May be interesting.
tab and
* J. Scott Edwards
| file renamer (that can change case).
what's wrong with rename(1)?
--
Tollef Fog Heen,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
Thus spake J. Scott Edwards on Tue, Aug 27, 2002 at 09:59:28PM -0600:
file renamer (that can change case).
Just asking: anything that mmv can't do ?
regards,
Romain
Ola Lundqvist [EMAIL PROTECTED] writes:
tab and untab (I just discovered that this can be done with pr).
If it can be done with something else it might not be too necessary. It
is your choice though.
JFYI, it can also be done with expand.
--
Marcelo | This signature was
On Tue, Aug 27, 2002 at 09:59:28PM -0600, J. Scott Edwards wrote:
convert wave -- raw audio files
examine wave/raw audio files and print stats
change amplitude of wave/raw audio files
adjust lead in/lead out of wave/raw audio files
Have you looked at sox? It does these things and a lot more,
On Tue, 27 Aug 2002 21:59:28 -0600 (MDT),
J. Scott Edwards [EMAIL PROTECTED] wrote:
little endian hex dump
Can this tackle the length of int?
find a file within a file
Can you elaborate? Is it something like tar -x or munpack?
duplicate file remover
interesting
file renamer (that can
Ola Lundqvist [EMAIL PROTECTED] writes:
convert wave -- raw audio files
examine wave/raw audio files and print stats
change amplitude of wave/raw audio files
adjust lead in/lead out of wave/raw audio files
Could be packaged together too.
Have a look at sox - do your programs have any
begin Oohara Yuuma quote on Wed, Aug 28, 2002 at 11:57:31PM +0900:
generate id3 tags from file name (probably not generally useful).
It may save some perl one-liner.
id3ren does this.
M
pgp7m14E3fGi3.pgp
Description: PGP signature
Hello,
I have a compiler (based upon SmallEiffel) and a bunch of dumb little
utilites that I have been planning to make .deb files for. But I don't
know if they have enough general appeal to make them official, or if I
should just make them and put them on my SourceForge project pages. Does
On Tue, 2002-08-27 at 17:11, J. Scott Edwards wrote:
Hello,
I have a compiler (based upon SmallEiffel) and a bunch of dumb little
utilites that I have been planning to make .deb files for. But I don't
know if they have enough general appeal to make them official, or if I
should just make
I guess I was worried that they are so trivial that any of the real
programmers on this list could recreate them in 5 minutes with sed, awk,
and perl. :)
But, well ok:
little endian hex dump
find a file within a file
duplicate file remover
tab and untab (I just discovered that this can be done
25 matches
Mail list logo