Join 3,501 readers in helping fund MetaFilter (Hide)

10 posts tagged with script and unix. (View popular tags)
Displaying 1 through 10 of 10. Subscribe:

Help Me Automatically Shorten Status Updates for Facebook/Twitter Updates ...

I'm seeking to write a shell script (probably using sed) that will be given some text and will abbreviate it for me. I've no need to reinvent the wheel, if such a shell script already exists. More inside. [more inside]
posted by WCityMike on Jul 26, 2010 - 6 answers

Shell script handling CSV columns

I'm using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I'm having some difficulty going on with the next part of the script. Some help would be great. :) [more inside]
posted by fightoplankton on Jun 10, 2009 - 11 answers

How to test if a variable in a Bourne shell script is an integer?

I'm being tasked with creating a simple integer calculator, which I have effectively done, up to the point of it being a calculator, however, even after hours of searching I cannot get any scripts to work correctly. [more inside]
posted by InsaneRhino on Apr 30, 2009 - 11 answers

Joining MP3 Files Together Based on Date in Filename?

I have a podcast that downloads as multiple segments over multiple days. Its format arrives as YYYYMMDD_showcode_segment.mp3; so, for example, one download might result in files as 20090323_goofa_01.mp3 through 20090323_goofa_21.mp3, and also within the same download 20090324_goofa_01.mp3 through 20090324_goofa_21.mp3. What I'm looking for is a Unix script (shell, perl, what have you) that would look at a directory and look at what dates are represented there, and let me join all of the segments together by day. I can use mpgtx -j to do the actual joining; I'm looking for the code that would let the script determine what dates are in the directory and then get each day's segments united into a single MP3 for that day's show.
posted by WCityMike on Mar 25, 2009 - 5 answers

What is the linux command 'dt'?

Obscure linux/unix text processing command: what is 'dt'? [more inside]
posted by logicpunk on Oct 6, 2008 - 9 answers

Bash, I command thee to always...

How do I get bash to automagically execute a line or two of code at login? [more inside]
posted by nakedcodemonkey on Oct 22, 2007 - 25 answers

Help Me Morbidly Count Down the Remaining Days of My Life!

I would basically like to rip off, wholesale, some command-line script which will provide me a countdown -- only in days. No years, months, minutes, or seconds. Unfortunately, adapting an existing script is beyond my ken. [more inside]
posted by WCityMike on Sep 27, 2007 - 5 answers

Looking for a homework submission script.

Where can I find a simple UNIX homework submission script? [more inside]
posted by event on May 18, 2006 - 15 answers

How do I represent "the file previous to this one" in Korn Shell?

Korn Shell Filter: I have a list of time ordered files, with Julian day of year as part of the filename. There is not a file for every Julian day. If I grep on a directory listing for file *{DOY}*, and that file does not exist, I would like my script to be smart enough to use the file immediately preceding it in the listing, even if the preceding file is not *{DOY-1}*. My Google-Fu has failed me. Any suggestions?
posted by Fat Guy on Nov 22, 2005 - 9 answers

Unix Scripting

Unix scripting question- how do I automate an interactive command-line application? [MI] [more inside]
posted by mkultra on Dec 15, 2004 - 8 answers

Page: 1