Search Results

Search: Posts Made By: tolmark
2,141
Posted By tolmark
Zshell Colored output
Hi All, is there anyway to color the output following a shell command?

For instance:

$cat somefile.txt
Hello, I am the contents of somefile.txt

I'm using zsh, with ANSI colors enabled.
...
43,250
Posted By tolmark
Thanks for the help!
Thanks for the help!
43,250
Posted By tolmark
Multiline Grep
How does one do a search for a multiline regular experssion and output the results to a file.

I know this won't work since grep only searches single lines:
egrep '<a>.*?</a>' source.xml >...
2,520
Posted By tolmark
Thanks reborg!
Thanks reborg!
2,520
Posted By tolmark
These both look good, thanks for your time,...
These both look good, thanks for your time, unfortunately, the application requires a regular expression. (Textmate)
2,520
Posted By tolmark
Is there a way to do it without sed?
Is there a way to do it without sed?
2,520
Posted By tolmark
RegEx question has me stumped
Hi All, I'm fairly new to Regular Expressions, and have made some decent progress, but this one has me scratching my head. I'm trying to match the class name in my scripts as shown in the examples...
Forum: Open Source 03-21-2007
353,872
Posted By tolmark
I'm on a mac, and I use Textmate. Love it.
I'm on a mac, and I use Textmate. Love it.
1,914
Posted By tolmark
yeah, I did use tr, but is there an easier way to...
yeah, I did use tr, but is there an easier way to loop recursively through the sub-directories? (Again, thanks for the replies, I'm amazed at how fast they've come). :)
1,914
Posted By tolmark
Thank you for your replies Raghuram. From what I...
Thank you for your replies Raghuram. From what I see, mac2unix is for converting mac line endings to unix, but it isn't avilable in the bash shell either. Is there a way to tell the differences...
1,914
Posted By tolmark
This is the response I get: line 3:...
This is the response I get:

line 3: dos2unix: command not found


I'm on a mac, and using its built in bash shell.
1,914
Posted By tolmark
There must be a better way
Unix noobie here. I've just created a shell script that accomplishes these objectives:

1) Remove all DOS CRs (Carriage Returns) out of a set of actionscript files (.as)

2) Recursively remove...
Showing results 1 to 12 of 12

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