Sponsored Content
Top Forums Shell Programming and Scripting problem in creating execute profile file in unix Post 302595705 by Scrutinizer on Saturday 4th of February 2012 09:28:11 AM
Old 02-04-2012
Try sh ./my_var.sh
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

not able to execute .profile /.kshrc

Hi, I m new to Solaris CDE...earlier i was using Windows. Here is my problem.. i know that whatever the initial settings we need to execute,we can place them in .profile file. in my home dir (/home/venki),i have following files for that. .profile .profile.user .kshrc .kshrc.user ... (2 Replies)
Discussion started by: Venky
2 Replies

2. UNIX for Advanced & Expert Users

Problem in updating .profile file in HP-UX B.11.00 machine

Hello All, I am using a HP-UX machine and I want to update the .profile file so that after login to my userID that will be applicable to my ID also. What I am trying to do is : In .profile file I am trying to write in /home/userID folder: export PATH=$PATH:$HOME:. so that whenever I will... (3 Replies)
Discussion started by: abhishek0071
3 Replies

3. Shell Programming and Scripting

Profile File in Unix

Hi, I have to run a sqr program. In the profile file everything is set. e.g APPLID=personel APPPATH=/${ENVIRONMENT}/${APPPATH} and so on.. SQRDIR=/opt/sqr/bin/syb Still when I'm running this script,its giving error APPLID not set and SQRDIR not set. Any idea,why? TIA (5 Replies)
Discussion started by: autosys_nm
5 Replies

4. Shell Programming and Scripting

Creating a .sh script to execute an SQL file

Hello I'm hoping someone may be able to help. I'm absolutely brand new to these shell scripts and have tried to bash bits together from the little learnt but my final script still doesn't work. Sorry if something similar is already posted but couldn't find anything existing close enough to help... (1 Reply)
Discussion started by: Dan27
1 Replies

5. Shell Programming and Scripting

How to force Xmanager to execute .profile?

hello all i created a login scrip and add it successfully to .profile now i need to force this .profile to be executed if the user login using xmanager not a normal telnet best regards ---------- Post updated at 09:05 AM ---------- Previous update was at 03:25 AM ---------- Ant updates ???? (10 Replies)
Discussion started by: islam.said
10 Replies

6. Shell Programming and Scripting

how to execute ksh simple shell script without creating .sh file

please help me to execute a simple shell script like for i in `ls echo $i done . i dont want to create a new sh file to execute it. Can i just type and execute it ? because I always this kind of simple for loops . Please help . Thanks (7 Replies)
Discussion started by: Sooraj_Linux
7 Replies

7. UNIX for Dummies Questions & Answers

Help creating new .profile

Hi, We have a load of users which point to the same basic profile by a link: .profile -> /export/home/dusers/INIT/dot.profile I'd like to create a seperate profile for one user -testu12. If I remove the link from his profile will it delete the actual dot.profile file? I've tried to do a... (4 Replies)
Discussion started by: Grueben
4 Replies

8. Shell Programming and Scripting

problem in creating my own profile file in unix

I am new in shell scripting. currently i am using cygwin. My problem is i created a profile file in my own folder. file name is first.profile in which i gave following values to variable export a=10 now i am executing this profile file by below command ./.first.profile it executed... (4 Replies)
Discussion started by: pratikjain998
4 Replies

9. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

10. UNIX for Dummies Questions & Answers

Where to see my .profile file in UNIX?

Hi where to see my .profile file in unix thanks Dharma (2 Replies)
Discussion started by: na.dharma
2 Replies
Template::Alloy::HTE(3pm)				User Contributed Perl Documentation				 Template::Alloy::HTE(3pm)

NAME
Template::Alloy::HTE - HTML::Template and HTML::Template::Expr roles. DESCRIPTION
The Template::Alloy::HTE role provides syntax and interface support for the HTML::Template and HTML::Template::Expr modules. Provides for extra or extended features that may not be as commonly used. This module should not normally be used by itself. See the Template::Alloy documentation for configuration and other parameters. HOW IS Template::Alloy DIFFERENT FROM HTML::Template Alloy can use the same base template syntax and configuration items as HTE and HT. The internals of Alloy were written to support TT3, but were general enough to be extended to support HTML::Template as well. The result is HTML::Template::Expr compatible syntax, with Alloy speed and a wide range of additional features. The TMPL_VAR, TMPL_IF, TMPL_ELSE, TMPL_UNLESS, TMPL_LOOP, and TMPL_INCLUDE all work identically to HTML::Template. o Added support for other TT3 directives and for TT style "dot notation." <TMPL_SET a = "bar"> <TMPL_SET b = [1 .. 25]> <TMPL_SET foo = PROCESS 'filename.tt'> <TMPL_GET foo> # similar to <TMPL_VAR NAME="foo"> <TMPL_GET b.3> <TMPL_GET my.nested.chained.variable.1> <TMPL_GET my_var | html> <TMPL_USE foo = DBI(db => ...)> <TMPL_CALL foo.connect> Any of the TT directives can be used in HTML::Template documents. For many die-hard HTML::Template fans, it is probably quite scary to be providing all of the TT functionality. All of the extended TT functionality can be disabled by setting the NO_TT configuration item. The NO_TT configuration is automatically set if the SYNTAX is set to "ht" and the output method is called. o There is an ELSIF!!! <TMPL_IF foo> FOO <TMPL_ELSIF bar> BAR <TMPL_ELSE> Done then </TMPL_IF> o Added CHOMP capabilities (PRE_CHOMP and POST_CHOMP) Foo <~TMPL_VAR EXPR="1+2"~> Bar Prints Foo3Bar o Added INTERPOLATE capability <TMPL_SET foo = 'FOO'> <TMPL_CONFIG INTERPOLATE => 1> $foo <TMPL_GET foo> ${ 1 + 2 } Prints FOO FOO 3 o Allow for HTML::Template templates to include TT style templates. <TMPL_CONFIG SYNTAX => 'tt3'> <TMPL_INCLUDE "filename.tt"> o Allow for Expr parsing to follow proper precedence rules. <TMPL_VAR EXPR="1 + 2 * 3"> Properly prints 7. o Uses all of the caching and opcode tree optimations provided by Template::Alloy and Template::Alloy::XS. o Alloy does not provide the query method from HTML::Template. This is because parsing of the document is delayed until the output method is called, and because Alloy supports TT style chained variables which often are not resolvable until run time. UNSUPPORTED HT CONFIGURATION
die_on_bad_params Alloy does not resolve variables until the template is output. force_untaint strict Alloy is strict on parsing HT documents. shared_cache, double_cache Alloy doesn't have shared caching. Yet. search_path_on_include Alloy will check the full path array on each include. debug items The HTML::Template style options are included here, but you can use the TT style DEBUG and DUMP directives to do intropection. max_includes Alloy uses TT's recursion protection. filter Alloy doesn't offer these. ROLE METHODS
"register_function" Defines a new function for later use as text vmethod or top level function. "clear_param" Empties the paramter list. "query" Not supported. "new_file" Creates a new object that will process the passed file. $obj = Template::Alloy->new_file("my/file.hte"); "new_scalar_ref" Creates a new object that will process the passed scalar ref. $obj = Template::Alloy->new_scalar_ref("some template text"); "new_array_ref" New object that will process the passed array (each item represents a line). $obj = Template::Alloy->new_array_ref(@array); "new_filehandle" $obj = Template::Alloy->new_filehandle(*FH); "parse_tree_hte" Called by parse_tree when syntax is set to ht or hte. Parses for tags HTML::Template style. "param" See Template::Alloy. "output" See Template::Alloy. AUTHOR
Paul Seamons <paul at seamons dot com> LICENSE
This module may be distributed under the same terms as Perl itself. perl v5.10.1 2011-01-26 Template::Alloy::HTE(3pm)
All times are GMT -4. The time now is 10:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy