Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Formatting from Notepad++ to Vi Post 302703061 by horhif on Wednesday 19th of September 2012 09:58:24 AM
Old 09-19-2012
Hammer & Screwdriver

Quote:
Originally Posted by vidyadhar85
I am writing scripts on Notepad++ and copying it in VI from ages and never came across the above problem not sure whats wrong going on with your system...

so if you'd a long line, how would you format it?

i.e.

Code:
if  [something true etc]
then
             echo "blah blah blah blah blah blah blah blah blah blah blah blah blahblahblah blah blah
 blah blah blah blah blahblah blahblah blah blah "

if i was to tab the second line of 'blah' out to keep the formatting consistent (and to match the first line of blah, the echo would contain a blank space where the tab would be.

hopefully that makes sense Image
 

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
pilot-read-notepad(1)						    PILOT-LINK						     pilot-read-notepad(1)

NAME
pilot-read-notepad - List the record information found in the Palm Notepad SECTION
pilot-link: Userland conduits SYNOPSIS
pilot-read-notepad [-p|--port <port>] [-q|--quiet] [--version] [-?|--help] [--usage] [-l|--list] [-t|--type ppm|png] DESCRIPTION
Connect to the Palm handheld and list the record information found in the Palm Notepad application (found on OS4 and newer devices). If --type is specified, each record's image will be converted to files, using Portable Network Graphic (.png) or Portable Pixmap (.ppm) for- mat. pilot-read-notepad allows a user running PalmOS 4.0 or later 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
pilot-read-notepad options -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". Conduit Options -p, --port port Use device file <port> to communicate with the Palm handheld. If this is not specified, pilot-read-notepad will look for the $PILOTPORT environment variable. If neither are found or supplied, pilot-read-notepad will print the usage information. -q, --quiet Suppress 'Hit HotSync button' message -v, --version Display version of pilot-read-notepad and exit without connecting. Help Options -h, --help Display the help synopsis for pilot-read-notepad and exit without connecting. --usage Display a brief usage message and exit without connecting. USAGE
The program will connect to the target Palm handheld, and list or convert the records and images found in the Palm Notepad application to Portable Network Graphic (.png) or Portable Pixmap (.ppm) files. AUTHOR
pilot-read-notepad was originally written by Angus Ainslie <angusa@deltatee.com>. This manual page was converted to XML by Neil Williams <linux@codehelp.co.uk> REPORTING BUGS
We have an online bug tracker. Using this is the only way to ensure that your bugs are recorded and that we can track them until they are resolved or closed. Reporting bugs via email, while easy, is not very useful in terms of accountability. Please point your browser to http://bugs.pilot-link.org: http://bugs.pilot-link.org and report your bugs and issues there. COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. SEE ALSO
pilot-link(7) 0.12.5 Copyright 1996-2007 FSF pilot-read-notepad(1)
All times are GMT -4. The time now is 06:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy