Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Does it save Unix Text Files??' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Does it save Unix Text Files??
Authored by: macman13 on Jan 01, '03 01:38:48PM

Couple of questions:

1. Will it save Unix Text Files?

2. How do I get PB to compile plain ol' C source files?

I currently use BBedit for all of these functions and
can make a File Group using BBedit to do the same thing.
So how would PB benefit me over this?

Thanks.
SA



[ Reply to This | # ]
Does it save Unix Text Files??
Authored by: snoozer on Jan 01, '03 04:02:29PM
1. Will it save Unix Text Files?


Yes. The default text file format on OS X is Unix. I don't know offhand how PB handles existing files with non-Unix line endings, or mixed line endings.

2. How do I get PB to compile plain ol' C source files?


One way is to choose "Standard Tool" as the project type when creating a new project. You can add your .h and .c files to this project and use the various "Build" commands in PB. Note that PB uses jam instead of make.

I currently use BBedit for all of these functions and
can make a File Group using BBedit to do the same thing.
So how would PB benefit me over this?


I don't know much about BBEdit. I've tried the Lite version -- which may well be a good alternate suggestion as an "organizer" app -- but I assume it doesn't hold a candle to the full version, which has a reputation as an extremely powerful and versatile programmer's editor. If BBEdit suits your needs and tastes, you probably have no good reason to change.

PB doesn't do regular-expression searches; PB doesn't have configurable syntax-highlighting, and in fact does weird highlighting in .txt files; and PB doesn't auto-detect URLs in your text and make them clickable.

On the other hand, I have PB running most of the time anyway; PB lets me edit rtf files (I'm only guessing BBEdit doesn't -- not as rich text -- but I could be wrong); PB is free; and I'm too lazy to learn emacs ;).

--Andy


[ Reply to This | # ]
Does it save Unix Text Files??
Authored by: Seth Milliken on Jan 01, '03 07:40:36PM

A correction and a clarification:
- Project Builder can read and save files with Mac, Unix, and Windows line endings. Available in the Format menu.

- Project Builder does do regular expression searches. You do it in a Batch Find (Command-Shift-F is the default key binding).



[ Reply to This | # ]
Does it save Unix Text Files??
Authored by: snoozer on Jan 01, '03 09:53:20PM
- Project Builder does do regular expression searches. You do it in a Batch Find (Command-Shift-F is the default key binding).
Don't know how I missed that all this time. Thanks!

--Andy


[ Reply to This | # ]