so "*\.tsv" wouldn't require the "." before the tsv?<br><br><div class="gmail_quote">On Fri, Sep 14, 2012 at 11:26 AM, JD <span dir="ltr"><<a href="mailto:jdp@algoloma.com" target="_blank">jdp@algoloma.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 09/14/2012 11:21 AM, Sparr wrote:<br>
</div><div class="im">> be careful with this one, it will rename things that end with "tsv"<br>
> and not just ".tsv", such as perhaps your hypothetical "renametsv"<br>
> script :)<br>
><br>
> On Fri, Sep 14, 2012 at 11:18 AM, JD <<a href="mailto:jdp@algoloma.com">jdp@algoloma.com</a>> wrote:<br>
>> $ rename 's/tsv$/csv/g' *tsv<br>
<br>
<br>
</div>There is no different in the shell globbing between "*tsv" and "*.tsv" since "."<br>
matches any character in a regex.<br>
<br>
The ".ext" match is special in MS-Dos/Windows, not UNIX.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i><br>