How to get rid of higlited test in a script.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to get rid of higlited test in a script.
# 1  
Old 09-02-2009
How to get rid of higlited test in a script.

more script1.sh

#This is a test script in shell
echo Starting script
echo -------------------------
FTPSERVER="10.10.10.10"


Q. Can any one please assist the work "echo" is highlited in the complete file, some times some other word is higlited. how do we get rid of it?

Thanks in advance.
# 2  
Old 09-02-2009
from highlight, what do you mean?
bold?

there might be some terminfo setting for those characters.
try searching tput command or similar.

Last edited by clx; 09-03-2009 at 05:25 AM.. Reason: typo - smiler -> similar
# 3  
Old 09-02-2009
I mean the work "echo' is highlited, as if you have selected something moving the pointer on a work.[COLOR="#738fbf"]

---------- Post updated at 02:08 PM ---------- Previous update was at 10:29 AM ----------
# 4  
Old 09-03-2009

When is it highlighted?

When you cat the file?
In an editor?

Or only with more?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to get rid off Password expiry error message when connecting to sql in script?

I am connecting to sql databases through shell script. Databases that i am connecting will need password change every 60 days. This is according to our security policy and cannot be changed. But this is creating problem when connecting to Databases through shell script . To connect to oracle DB we... (2 Replies)
Discussion started by: pallvi_mahajan
2 Replies

2. Shell Programming and Scripting

Backup script / Test if script is already running

Hello everyone, I have 2 questions : 1) I have a backup shell script, let's call it backup.sh, that is called every hour as a cron job. As a matter of fact a backup could last more than one hour. It mounts a NAS and then do some rsync on important directories, so really I don't want to... (2 Replies)
Discussion started by: freddie50
2 Replies

3. Shell Programming and Scripting

How to check weather a string is like test* or test* ot *test* in if condition

How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies

4. Shell Programming and Scripting

How to get rid of cannot remove file error in bash script?

Hi Guys, I am creating a couple of temp. files in a script. After completing the script, I am using the rm command to delete these files. The files are getting deleted but I am getting "filename - cannot find file;no such file or directory" error in my bash shell terminal window. I am using... (3 Replies)
Discussion started by: npatwardhan
3 Replies

5. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

This is the code: while test 1 -eq 1 do read a $a if test $a = stop then break fi done I read a command on every loop an execute it. I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test. For example echo hello. Now the... (1 Reply)
Discussion started by: Max89
1 Replies

6. Shell Programming and Scripting

How to get rid of message when script kills process it started?

When I run the following script I get the following error message whcih I would like to suppress when the kill is issued: ./kill.sh: line 13: 31854 Killed nc -l -p 12345 Script: #!/bin/bash echo running nc in the background nc -l -p 12345 & PID=$! echo nc pid: $PID ... (1 Reply)
Discussion started by: cmarkle
1 Replies

7. Shell Programming and Scripting

Test Script ???

Hi can anbody explain the concept of test script with a simple test case and corresponding unix test script for the same? I need to answer this in a interview. Thanks !!! (2 Replies)
Discussion started by: skyineyes
2 Replies
Login or Register to Ask a Question