Search Results

Search: Posts Made By: ktoz
4,786
Posted By ktoz
Sed bug in OS X?
Cool!

With a slight modification to grab the field type out of the tag, this looks like it will work.

Thanks,

Ken
4,786
Posted By ktoz
Sed bug in OS X?
I think I'm giving up on sed on OS X for now. I found a workaround with Perl (s/// works in Perl)

Next hurdle multi-line grep...

I find it really silly that multi-line grep is impossible using...
4,786
Posted By ktoz
Sed bug in OS X?
tcsh for most stuff but the main script is running in sh (which I think is bash on OS X) not sure about that though.
4,786
Posted By ktoz
Sed bug in OS X?
Hmmm... My turn to be puzzled. No idea what your example is doing, but I'll go read up on awk...

Ken
4,786
Posted By ktoz
Sed bug in OS X?
The actual line I'm using was more complex so I "simplified" it to the line in my original post:)

Actually what I'm doing is scanning jpeg files that have info entered in the Photoshop "file info"...
4,786
Posted By ktoz
Sed bug in OS X?
I've been playing around with sed for a few days now and find that regular expressions never work inside sed s/// on Mac OS 10.2.5. Has anyone else bumped up against this problem?

For example,...
2,761
Posted By ktoz
Can sed operate on a loop variable?
I'm sure this is an easy one but I can't seem to get it working. Given the following:

for oldName in `ls *.JPG` ;do
newName=<confusion here. how to make sed perform 's/.JPG/_thumb.JPG/g'...
Showing results 1 to 7 of 7

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