Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Formatting from Notepad++ to Vi Post 302703041 by horhif on Wednesday 19th of September 2012 09:35:17 AM
Old 09-19-2012
Formatting from Notepad++ to Vi

Hi,

just quick question, I currently type up my scripts in Notepad++ and then copy them into my file (in VI).

However, i've noticed that all the lines get messed up and it becomes difficult to read the script.

so i've to spend time then using '\' at the end of lines etc and re-formatting the file to make it look presentable.

what does everyone else use?

i've now set Notepad++ to show a line that i think matches the width of my Vi file (settings - preferences - editing - show vertical line - line mode - show vertical line.....and set that to about 124)

anyone recommend anything else?

thanks
 

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
IRC::Formatting::HTML(3pm)				User Contributed Perl Documentation				IRC::Formatting::HTML(3pm)

NAME
IRC::Formatting::HTML - Convert between HTML and IRC formatting VERSION
Version 0.29 SYNOPSIS
Convert raw IRC formatting to HTML use IRC::Formatting::HTML qw/irc_to_html html_to_irc/; ... my $irctext = "02031,2Iron & Wine"; my $html = irc_to_html($irctext); print $html # the above will print: # <span style="font-weight: bold;color: #000; background-color: #008">Iron &amp; Wine</span> ... my $html = "<b><em>Nicotine and gravy</em></b>"; my $irctext = html_to_irc($html); print $html; # the above will print: # 0226Nicotine and Gravy0226 FUNCTIONS
irc_to_html irc_to_html($irctext, invert => "italic") Takes an irc formatted string and returns the HTML version. Takes an option to treat inverted text as italic text. html_to_irc html_to_irc($html) Takes an HTML string and returns an irc formatted string AUTHOR
Lee Aylward, <leedo@cpan.org> BUGS
Please report any bugs or feature requests to "bug-irc-formatting-html at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IRC-Formatting-HTML <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IRC-Formatting-HTML>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc IRC::Formatting::HTML You can also look for information at: o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=IRC-Formatting-HTML <http://rt.cpan.org/NoAuth/Bugs.html?Dist=IRC-Formatting-HTML> o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/IRC-Formatting-HTML <http://annocpan.org/dist/IRC-Formatting-HTML> o CPAN Ratings http://cpanratings.perl.org/d/IRC-Formatting-HTML <http://cpanratings.perl.org/d/IRC-Formatting-HTML> o Search CPAN http://search.cpan.org/dist/IRC-Formatting-HTML/ <http://search.cpan.org/dist/IRC-Formatting-HTML/> ACKNOWLEDGEMENTS
This is a direct port of Sam Stephenson's ruby version. COPYRIGHT &; LICENSE Copyright 2009 Lee Aylward, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-01-13 IRC::Formatting::HTML(3pm)
All times are GMT -4. The time now is 12:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy