05-15-2018
I forgot to mention one important part:
Change this line from echo 'set theFilePath to "/Users/amiga/Desktop/Spy.mov"
to echo 'set theFilePath to "/Users/your_user_name/Desktop/Spy.mov" ...
And away you go...
This User Gave Thanks to wisecracker For This Post:
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm a beginner in Unix OS. I really want to know what kind of hardware I need in order to install the Unix OS.(I know Linx can be installed in both Mac & PC, but not Unix)
Thanks to let me ask such question here. (1 Reply)
Discussion started by: Mutsu
1 Replies
2. OS X (Apple)
Hi!
I just got a new iMAC G5 (20") and I love it!!!!
Amazon dropped the price $200, and there was also a $150 rebate, making it around $1325, so I could not resist anymore
Finally!!!!
Neo (2 Replies)
Discussion started by: Neo
2 Replies
3. Shell Programming and Scripting
Hi all.
I have a problem at work which I have managed to break down into a simple test scenario:
I have written a monitoring script that outputs every second the status of various processes, but for now, lets just print the date
input.sh:
while true
do
date
sleep 1
done
This... (9 Replies)
Discussion started by: spudtheimpaler
9 Replies
4. What is on Your Mind?
A really silly thing I did about a year ago (probably after one beer too many) was upgrading my perfectly stable Windows XP Pro to Windows Vista. Vista is really getting on my nerves, so I was in Media Markt the other week looking to see if they had Windows 7 Ultimatum in stock.
As I was... (1 Reply)
Discussion started by: Scott
1 Replies
5. Shell Programming and Scripting
Hi,
For the text file let us say t.txt having the statements as below.
filename : t.txt.
Contents :
This is first string1
This is first string2
This is first string3
The output of the file should have newline. How to introduce the new line so that the output be as follows
... (5 Replies)
Discussion started by: krackjack
5 Replies
6. OS X (Apple)
Hi,
Solid as a rock or ...
Is it possible for a program to damage an iMac (Snow Leopard) so bad that it cannot start up again, and need to be repaired?
I am asking about this, because this seems to have occurred two days ago, when I was running a popular game program.
When I closed the... (6 Replies)
Discussion started by: ASL123
6 Replies
7. OS X (Apple)
the name on my terminal changed from BuDop's MBP:~ budop$ to dhcp-v06:~ budop$ after I set up a local server using nodejs.
This was was I did prior to the change:
I installed a middleware framework for node
1. npm install connect
2. created a server file called server.js
3. ran... (12 Replies)
Discussion started by: BuDop
12 Replies
LEARN ABOUT DEBIAN
z88dk-copt
copt(1) z88 Development Kit copt(1)
NAME
copt - peephole optimizer
SYSNOPIS
copt file ...
DESCRIPTION
copt is a general-purpose peephole optimizer. It reads code from its standard input and writes an improved version to its standard output.
copy reads the named files for its optimizations, which are encoded as follows:
<pattern for input line 1>
<pattern for input line 2>
...
<pattern for input line n>
=
<pattern for output line 1>
<pattern for output line 2>
...
<pattern for output line m>
<blank line>
Pattern matching uses literal string comparison, with one exception: ``%%'' matches the ``%'' character, and ``%'' followed by a digit
matches everything up to the next occurrence of the next pattern character, though all occurrences of %n must denote the same string. For
example, the pattern ``%1=%1.'' matches exactly those strings that begin with a string X, followed by a ``='' (the first), followed by a
second occurrence of X, followed by a period. In this way, the input/output pattern
mov $%1,r%2
mov *r%2,r%2
=
mov %1,r%2
commands copt to replace runs like
mov $_a,r3
mov *r3,r3
with
mov _a,r3
Note that a tab or newline can terminate a %n variable.
copt compares each run of input patterns with the current input instruction and its predecessors. If no match is found, it advances to the
next input instruction and tries again. Otherwise, it replaces the input instructions with the corresponding output patterns, pattern vari-
ables instantiated,and resumes its search with the first instruction of the replacement. copt matches input patterns in reverse order to
cascade optimizations without backing up.
BUGS
Errors in optimization files are always possible.
SEE ALSO
z88dk(1), z88dk-zcc(1), z88dk-z80asm(1), z88dk-appmake(1), z88dk-copt(1).
AUTHOR
z88dk was written by Dominic Morris <dom@z88dk.org>, and others.
01 December 2009 copt(1)