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
Dancer::Engine(3pm)					User Contributed Perl Documentation				       Dancer::Engine(3pm)

NAME
Dancer::Engine - base class for Dancer engines SYNOPSIS
my $engine = Dancer::Engine->build( Serializer => 'JSON', $configuration ); DESCRIPTION
Dancer has various engines such Serializer engines, Template engines, Logger engines and Session handlers engines. This is the base class for all Dancer engines. If you're writing an engine of a common type (such as those mentioned above), you probably want to simply use their base class, which in turn use Dancer::Engine. For example, Template engines inherit from Dancer::Template::Abstract and Serializer engines inherit from Dancer::Serializer::Abstract. Those Abstract base classes inherit from Dancer::Engine. If a new type of Dancer engine is created, it is best it inherits from this class. ATTRIBUTES
name The name of the engine, such as JSON, or Simple. type The type of the engine, such as Serializer, or Session. METHODS
/SUBROUTINES config Fetches the configuration of the engine. my $configuration = $engine->config; You can only set the configuration at initialization time, not after. build Builds and returns the engine. my $engine = Dancer::Engine->build( $type => $name, $config ); AUTHOR
Alexis Sukrieh LICENSE AND COPYRIGHT
Copyright 2009-2010 Alexis Sukrieh. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information. perl v5.14.2 2011-11-30 Dancer::Engine(3pm)
All times are GMT -4. The time now is 03:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy