![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| send a message through email to 5 people using unix script? | MARY76 | Shell Programming and Scripting | 2 | 02-05-2007 03:29 PM |
| What are people using for Centralized Unix Administration | x96riley3 | UNIX for Dummies Questions & Answers | 0 | 09-27-2006 12:03 PM |
| Unix for MS People | NEWX | UNIX for Dummies Questions & Answers | 2 | 04-13-2006 11:19 AM |
| Is Unix a Network operating system for Macintosh computers | Bill1263 | UNIX for Advanced & Expert Users | 2 | 09-05-2002 11:50 PM |
| Unix for Macintosh | Icarus | Where do I download LINUX & UNIX? | 9 | 11-15-2001 01:45 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
UNIX in the MacIntosh (for sed people)
Hi,
I'm trying to use sed to process some files on Macs running OSX. Anyone know anything about Macs and sed? Here's the problem sed 's/^/ /g' test_file > endfile (there are spaces betwen the second and third /, but the forum software compresses them) This should put spaces at the beginning of every line (I'm fairly sure, tho' not positive about this). But it's only putting spaces at the beginning of the first line of a file. Any thoughts? I've already had problems with Mac's idea of sed and the \n newline character (Mac's sed doesn't seem to recognize it). And downloading GNU's sed onto all the machines here (aobut 200) isn't an option, but we've got a lot of files to process. Any help would be appreciated. Best wishes, Laurel ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|