Sponsored Content
Top Forums Shell Programming and Scripting File Locking with fcntl on Darwin Mac OSX Post 302578037 by flagman5 on Wednesday 30th of November 2011 02:45:27 PM
Old 11-30-2011
thanks for your help. its interesting that i was able to get it to partially work but i guess it makes sense that the behavior is unpredictable at best. i never had an issue where adding debug print statements can break a script.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

ssh and Mac OSX

Please help if you are familiar with Mac OSX. I downloaded OpenSSH for a newer version of SSH than what comes with OS 10.1. What a mistake! Now every time I try to make a connection to my remote server I get an message that ssh was built against version such and such and I have version such and... (2 Replies)
Discussion started by: glfisfn
2 Replies

2. UNIX Desktop Questions & Answers

Mac Osx.2

I finally broke down and decided to buy a new piece of hardware. I think I made the right decision when I chose an Apple iBook - OSX is incredible! I haven't used a Mac since System7.5, and 10.2 is just blowing me away! Best of all, it's easy to use for people who are not used to Mac, but if I... (5 Replies)
Discussion started by: LivinFree
5 Replies

3. UNIX for Dummies Questions & Answers

Make for Mac OS X (Darwin)

Can anyone tell me where to find "make". I have performed an exhaustive search of my system using find - to no avail. (2 Replies)
Discussion started by: garb
2 Replies

4. Windows & DOS: Issues & Discussions

win-xp/mac-osx

I'm currently looking for an emulation program that would allow me to open and run osx app.s and programs on a windows xp based system. if not is there a unix/linux/lindows program that may do the same? (3 Replies)
Discussion started by: area51nstk
3 Replies

5. Programming

Problem with curses library on Mac OS 10.2 darwin

Hello, I am trying to write a simple program with functions in the ncurses library, on a Mac running OSX 10.2.8, with the compiler and libraries that were included in the Dec 2002 Developer's tools release (the last one that runs on Jaguar, as far as I know). When I try to compile, I get... (2 Replies)
Discussion started by: marks
2 Replies

6. UNIX for Dummies Questions & Answers

Upgrading bash on Darwin (osx)

Hi, I have installed bash 3.2 via darwin ports, however when I try and change the shell i.e. chsh -s /opt/local/bin/bash is says its a non-standard shell? but if i run ./bash i get a new bash prompt with version 3.2? Thanks (3 Replies)
Discussion started by: c19h28O2
3 Replies

7. Filesystems, Disks and Memory

unix executable file problem on MAC OSX ??? please help

I've got this problem. My computers and external hard drives are converting many of my files to a Unix Executable File which has a grey terminal looking icon. I don't understand what is causing this to happen. It is happening to a large number of my image file of different formats and also... (1 Reply)
Discussion started by: chadb
1 Replies

8. OS X (Apple)

Mac OSX kernel

is there anyway of looking at, and if possible, modifying it? (2 Replies)
Discussion started by: cleansing_flame
2 Replies

9. Programming

fcntl works in linux but not in mac os x

Hi, Unless I am missing some serious differences in Mac and linux in terms of C programming, I dont know why this would happen. Please take a look at the following piece of code fragment: bool add_input_to_db(Cons *new_data) { // Set the attributes of the lock struct flock fl =... (3 Replies)
Discussion started by: newhere
3 Replies

10. UNIX for Advanced & Expert Users

UML on MAC OSX

Hey guyz, Is it possible to build user-mode linux kernel on MAC OSX? Please I need a reply asap as I have an assignment that I need to do. Thanks! Adel (1 Reply)
Discussion started by: aje02
1 Replies
Mac::AETE::Parser(3)					User Contributed Perl Documentation				      Mac::AETE::Parser(3)

NAME
Mac::AETE::Parser - parses Macintosh AETE and AEUT resources. SYNOPSIS
use Mac::AETE::Parser; use Mac::AETE::Format::Dictionary; $aete = Parser->new($aete_handle, $name); $formatter = Dictionary->new; $aete->set_format($formatter); $aete->read; $aete->write; DESCRIPTION
The Parser module serves as a base class for the Mac::AETE::App and Mac::AETE::Dialect modules. Methods new Example: ($aete_handle is a handle containing a valid AETE resource. $name is the name of the application.) use Mac::AETE::Parser; use Mac::AETE::Format::Dictionary; $aete = Parser->new($aete_handle, $name); read Reads the data contained in the AETE resource or handle. Example: $aete->read; set_format Sets the output formatter used during by the 'write' subroutine. Example: $formatter = Dictionary->new; $aete->set_format($formatter); copy Copies all suites from one Parser object into another. Example: $aete2 = Parser->new($aete_handle2, $another_name); $aete->copy($aete2); copies the suites from $aete2 into $aete. merge Merges suites from one Parser object into another. Only the suites that exist in both objects will be replaced. Example: $aete3 = Parser->new($aete_handle2, $another_name); $aete->merge($aete3); write Prints the contents of the AETE or AEUT resource using the current formatter. $aete->write; INHERITANCE
Parser does not inherit from any other modules. AUTHOR
David Schooley <dcschooley@mediaone.net> The data structures are adapted from modifications made to the original aeteconvert script by Chris Nandor. perl v5.10.0 2006-06-01 Mac::AETE::Parser(3)
All times are GMT -4. The time now is 12:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy