Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Formatting from Notepad++ to Vi Post 302703101 by vidyadhar85 on Wednesday 19th of September 2012 10:44:24 AM
Old 09-19-2012
Quote:
Originally Posted by horhif
sorry maybe my echo statement was the best example.

Code:
if [ -s file_log1 ] 
then
    mailx -r server@myworld.com -s "Error found $HOSTNAME, \
Engine 1, please investigate" my_email@what.com < temp_file_log1
 
else   
   echo "Error messages NOT found" > /dev/null
fi

so if i try and tab out 'Engine 1' to match the above 'mailx' that is tabbed out, i get an email that reads : "Error found $HOSTNAME, *TAB SPACE HERE* Engine 1, please investigate"

thanks for your time
My dear friend you cant tab out half command just to make it look cool... Smilie its like you are trying to run a command say...

Code:
 
$$ > da\
> te
Wed 19 Sep 15:42:01 2012
$$ > da\
>    te
ksh[2]: da:  not found

I am afraid i dont have solution for this... Smilie
This User Gave Thanks to vidyadhar85 For This Post:
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Strange Characters After Using Notepad

Hello all, I'm new to UNIX and new to this forum, so forgive my lack of knowledge. I'm new with editing in vi so I FTP scripts to a Windows machine and edit the script in notepad (when I need to do something quickly). Sometimes when I FTP the script back to the UNIX box, strange characters... (4 Replies)
Discussion started by: dgower2
4 Replies

2. UNIX Desktop Questions & Answers

Wordpad or Notepad?

I am new to using UNIX and after uploading a new script to UNIX from Windows using FTP, the script doesn't always work. It seems this depends on the text editor I use and the transfer type. I understand all scripts should be transferred using ASCII, but can you advise which is the best text editor... (12 Replies)
Discussion started by: Heidi.Ebbs
12 Replies

3. UNIX for Dummies Questions & Answers

Output of the script in notepad

Hi All, I want to show my output for the script to notepad.Anybody know what is the command to do this... Thanks.. (7 Replies)
Discussion started by: mastercar
7 Replies

4. Windows & DOS: Issues & Discussions

PERL: Running script from Notepad++

I'm not sure if this forum covers PERL issues but here I go: I'm trying to run a PERL script from Notepadd++. I've entered the path of the script from the run command but it is only opening a blank window. Is there anything else that needs to be done when using the 'RUN' feature of Notepad++? (2 Replies)
Discussion started by: millsy5
2 Replies

5. Windows & DOS: Issues & Discussions

UNIX and notepad++

I connect to my office server using ftp option in notepad++ I am not able to open directory's with out setting my clear case view in the notepad++ Hence pls help me in setting the view in notepad++ so that it can read all the files and directorys (6 Replies)
Discussion started by: Syed Imran
6 Replies
HOST_ALIASES(5) 					   Sun Grid Engine File Formats 					   HOST_ALIASES(5)

NAME
host_aliases - Sun Grid Engine host aliases file format DESCRIPTION
All Sun Grid Engine components use a hostname resolving service provided by the communication library to identify hosts via a unique host- name. The communication library itself references standard UNIX directory services such as DNS, NIS and /etc/hosts to resolve hostnames. In rare cases these standard services cannot be setup cleanly and Sun Grid Engine communication daemons running on different hosts are unable to automatically determine a unique hostname for one or all hosts which can be used on all hosts. In such situations a Sun Grid Engine host aliases file can be used to provide the communication daemons with a private and consistent hostname resolution database. The location for the host aliases file is <sge_root>/<cell>/common/host_aliases. FORMAT
For each host a single line must be provided with a blank, comma or semicolon separated list of hostname aliases. The first alias is defined to be the unique hostname which will be used by all Sun Grid Engine components using the hostname aliasing service of the communi- cation library. SEE ALSO
sge_intro(1), COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions. SGE 6.2u5 $Date$ HOST_ALIASES(5)
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy