Tag Archives: Unix

BASH Shell Scripting: Passing Arguments to a Python Script

Larry Wall: “Shell programming is a 1950s juke box …” In this short blog I write a small Python utility script to create directories and demonstrate how to utilize it and pass it arguments via BASH shell script. The functionality … Continue reading

Posted in BASH Shell Scripting, Mac OS X Mavericks, Operating Systems, Programming Languages, Python, Technology | Tagged , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Unix shell script – convert Mac ASCII file to Unix ASCII file

With some applications like Microsoft Word you can save a file in ASCII format. However, for new lines Macs use a carriage return (ASCII character 015) while Unix uses a linefeed (ASCII character 012). If you save the file as … Continue reading

Posted in Linux, Operating Systems, Programming Languages, Shell Scripts | Tagged , , , , , , , , , | 1 Comment