Tag Archives: shell script
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 BASH, BASH pass argument, BASH pass argument to command, BASH pass argument to python script, BASH pass argument to script, BASH Shell, Bash Shell Scripting, linux, MAC, Mac OS X, Mac OS X Mavericks, Mavericks, mkdir, OS X Mavericks, Python, Python 3, Python pass argument, Python pass arguments, python3, scripting, shell, shell script, shell scripting, Unix
|
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 ASCII, carriage return, linefeed, MAC, Mac to Unix, Microsoft Windows, new line, shell script, Unix, windows
|
1 Comment