Search Results

Search: Posts Made By: Nat
3,062
Posted By Nat
Would it be much to switch the script to bash?...
Would it be much to switch the script to bash? would that better? I only have experience with sh, tcsh and bash. An Mac OS X doesn't come with ksh installed, i could include it in the bundle though...
3,062
Posted By Nat
clicker script
This is a continuation of what started off as a few questions here (https://www.unix.com/showthread.php?s=&threadid=14154) and here (https://www.unix.com/showthread.php?s=&threadid=14160) for a script...
5,620
Posted By Nat
thanks to anarchie for the tip with double...
thanks to anarchie for the tip with double quotes.
Fixes this particular problem nicely.
5,620
Posted By Nat
by minor changes i mean adapting it for my script...
by minor changes i mean adapting it for my script and changing for example "FILE=$(basename program)" to "FILE=$(basename $program)"

I have also encountered another problem on closer...
5,620
Posted By Nat
with a few minor changes it works great ...
with a few minor changes it works great

thanks a lot :-)
5,620
Posted By Nat
taking the end off a path
I need a script to be able to take a path such as "/foo/bar/thing" a put the "/foo/bar/" bit in one variable and the "thing" bit in another.

I figured awk would probably be the best tool for the...
13,702
Posted By Nat
$0 worked :-) thank you very much I wanted...
$0 worked :-)
thank you very much

I wanted the file to be executed as the app/contents/MacOS/executable file of a cocoa bundle (if that means anything too you.)


"i would think that the path...
13,702
Posted By Nat
unfortunately using pwd doesn't work unless i...
unfortunately using pwd doesn't work unless i happen to be executing the command from the directory in which it resides. :-(

I made a test script

#! /bin/bash
echo `pwd` > ~/foo
exit 0

and...
13,702
Posted By Nat
getting a shell script to know it's path
Is it possible in Bash (or any other shell) to get a shell script to know it's own path without having to be part of $PATH or anything like that.

I need this cos i want the script to be able to...
Forum: OS X (Apple) 10-18-2003
4,508
Posted By Nat
http://barefeats.com/g5c.html has what i've heard...
http://barefeats.com/g5c.html has what i've heard is the most fair set of benchmarks so far.

VA tech has 1100 dual G5 powermacs. making it one of the most powerful supercomputers in the world. i...
Forum: OS X (Apple) 10-18-2003
7,387
Posted By Nat
i think panther also comes with bash as the...
i think panther also comes with bash as the default shell. :-)
11,409
Posted By Nat
i also have a similar problem that i spose could...
i also have a similar problem that i spose could also come under "search and replace dynamic data in a shell script"
I am a mac user and am fairly new to the comand line and so don't know alot about...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 03:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy