Having special characters in a multi-line echo in function usage(), you should put in some more echoes and escape them all by surrounding the lines with " in the front and the end:
Use something like:
This as a first step, then check out what is not working next.
Last edited by zaxxon; 05-12-2011 at 09:47 AM..
Reason: typo and adding a sentence
i am new to solaris
i have one module which contain certain header files and sub modules
i want ot execute the module and c what the values are beeing assigned to variables
is makefile only solution for this
is there any editor to help it,so that i can c the flow of the program and also... (1 Reply)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (0 Replies)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (1 Reply)
When I run a lengthy script in debug mode i need to capture all the steps which are executed.
e.g
ksh -x script.ksh
+ test -f /proc/mounts
+ /bin/ls -l /proc/21326/exe
+ is=ksh
+ test ksh = ksh
+ test -s /etc/ksh.kshrc
+ . /etc/ksh.kshrc
+ trap 1 2 3
+ who am i
+ awk {print $1}
+... (2 Replies)
Hi All,
I have a question on debugging the .so file.
When I am running makefile I am getting a .so file and we are using that .so file for executing our code.But I want to know
1.Can I use dbx or gdb to debug a .so file?
2.How can i generate .out file so that i can use that in dbx or gdb... (1 Reply)
Can you help please ?
./get_df.sh: syntax error at line 13 : `then' unexpected
#!/bin/ksh
while :
do
PER=`df -h /DATA/ | nawk '{if (NR != 1) { sub (/%/,""); print $(NF-1)}}'`
if
then
if]
then
mailx -s "FS over 90 per" me@company.com
touch... (2 Replies)
Hello, I was looking at kernel log's and found some parts what was "interesting"
I previously started looking what has been going on in my computer because I had hacker attacks on my machine.
Installed Avira & Little Snitch - softwares
Previously my computer opened few folders what I have... (1 Reply)
How can I debug this script?
I want to know what it is doing or not doing?
#!/bin/bash
#
#
if ; then
# Do the thing you want before suspend here
echo "we are suspending." > /tmp/systemd_suspend_test.txt
elif ; then
# Do the thing you want after resume here
echo "and we are... (21 Replies)
Discussion started by: drew77
21 Replies
LEARN ABOUT DEBIAN
text::microtemplate::file
Text::MicroTemplate::File(3pm) User Contributed Perl Documentation Text::MicroTemplate::File(3pm)NAME
Text::MicroTemplate::File - a file-based template manager
SYNOPSIS
use Text::MicroTemplate::File;
our $mtf = Text::MicroTemplate::File->new(
include_path => [ $path1, $path2, ... ],
use_cache => 1,
);
# render
$mtf->render_file('template.file', $arg1, $arg2, ...);
DESCRIPTION
Text::MicroTemplate::File is a file-based template manager for Text::MicroTemplate.
PROPERTIES
Text::MicroTemplate provides OO-style interface with following properties.
include_path
include path (default: ['.'])
This accessor is readonly.
use_cache
cache mode (0: no cache (default), 1: cache with update check, 2: cache but do not check updates)
open_layer
layer passed to open (default: ":utf8")
package_name
package under where template files are compiled (default: "main")
METHODS
build_file($file)
Returns a subref that renders given template file.
render_file($file, @args)
Renders the template file with given arguments.
wrapper_file($file, @args)->(sub { template lines })
Wraps given template with wrapper file. Internally the processed template is passed as $_[0] to the wrapper template.
SEE ALSO
Text::MicroTemplate
AUTHOR
Kazuho Oku <kazuhooku gmail.com>
LICENSE
This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.
perl v5.10.1 2010-09-06 Text::MicroTemplate::File(3pm)