|
SpinDrJr Beginner
Joined: 08 Jul 2003 Posts: 16
|
Posted: Tue Jul 08, 2003 4:26 pm
%grep return format... |
was wondering if there would be a way to change/color the %grep return after i search a file, my search gets lots of results sometimes.
thanks! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Jul 08, 2003 5:36 pm |
Yes, there probably would be.
|
|
|
|
SpinDrJr Beginner
Joined: 08 Jul 2003 Posts: 16
|
Posted: Tue Jul 08, 2003 5:45 pm |
do you know of a way or are you just being smart?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Jul 09, 2003 2:00 am |
#CW will work. Presumably, any other suitable trigger would also work. With no details on what your file and %grep look like, or what you would want to change/color and how, it's impossible to give a definite answer.
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Jul 09, 2003 11:13 pm |
I am going to assume you use some combination of #FORALL and #ECHO/#SAY/#SHOW to display the results. This being the case you would want a color function. Coloring functions don't have their own category in the help file contents, but commands do. Pick any coloring command in the help then clip the "related functions" button and start reading.
|
|
|
|
|
|