Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Formatting from Notepad++ to Vi Post 302703099 by horhif on Wednesday 19th of September 2012 10:37:07 AM
Old 09-19-2012
Quote:
Originally Posted by vidyadhar85
You mean something like (as attached) Smilie

i did copy paste from notepad++ into vi.. aplogies if this is not the scenario what u looking for...

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
 

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
read-notepad(1) 					      General Commands Manual						   read-notepad(1)

NAME
read-notepad - Connect to the Palm handheld device and list the record information found in the Notepad application. Alternately, if no options are given, each record's image will be converted to files, using Portable Network Graphic (.png) or Portable Pixmap (.ppm) format. The default type is ppm. SYNOPSIS
read-notepad -p <port> --list --type <type> DESCRIPTION
read-notepad allows a PalmOS 4.0 or later user to read the data stored in the Palm Notepad application and extract the data into images and convert them to Portable Network Graphics (.png) or Portable Pixmap (.ppm) files. OPTIONS -p --port <port> Use device file port to communicate with the Palm handheld device. If this is not specified, will look for the $PILOTPORT environ- ment variable. If both are not found, will fall back to /dev/pilot. -h --help Display help synopsis for read-notepad -v --version Display version of read-notepad -l --list List picture information found on the device instead of converting them to image files -t --type <type> Specify the output picture type. Can be either "png" or "ppm". USAGE
The program will connect to the target Palm handheld device, and list or convert the records and images found in the Palm Notepad applica- tion to Portable Network Graphic (.png) or Portable Pixmap (.ppm) files. KNOWN BUGS
read-notepad has no known bugs. REPORTING BUGS
Report bugs at http://bugs.pilot-link.org/ AUTHOR
read-notepad was written by Angus Ainslie <angusa@deltatee.com>. Free Software Foundation Palm Computing Device Tools read-notepad(1)
All times are GMT -4. The time now is 04:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy