Sponsored Content
Full Discussion: initialize lp job
Operating Systems SCO initialize lp job Post 302095592 by RTM on Wednesday 8th of November 2006 09:24:04 AM
Old 11-08-2006
Take a look at these -

syslog logs

web logs
 

10 More Discussions You Might Find Interesting

1. Programming

variable initialize question

I have a question about C program for Unix: Do we have to intialize every variable before we use them in C? I thought we have to untill I found some programs are not intialize the variable before they were used. (2 Replies)
Discussion started by: whatisthis
2 Replies

2. UNIX for Advanced & Expert Users

Initialize the Floppy on an HP-UX 10.20 OS as a bootable media

I have a B1000 platform, of which I am attempting to give the capability of establishing the Floppy as a bootable media device. I realize that the particular system doesn't recognize floppies as bootable media devices but there must be away around this can any one help? I have established mount... (0 Replies)
Discussion started by: SIMGOD
0 Replies

3. Shell Programming and Scripting

Variable Initialize

Hi, i m trying to loop a variable value, Basically i m reading variable value from an input file and using in rest of the program. Bu my problem is when i first time read value and assign to variable it works fine, but in second read it concatinate second value to first value with a LF. I want to... (2 Replies)
Discussion started by: coolbudy
2 Replies

4. UNIX for Dummies Questions & Answers

nslookup *** Can't initialize resolver

Has anyone seen this message before? I have a DNS problem. Recently DNS has been moved to two new servers, which I can ping. I changed the /etc/resolv.conf to point to these boxes but now I get the *** Can't initialize resolver message. Any ideas? (2 Replies)
Discussion started by: korfnz
2 Replies

5. HP-UX

Can not initialize the floppy

Hello Everyone, Has anyboby ever come across the problem when fd refuses to get initialised. I try to use mediainit command, the fd is being accessed (the fd's LIT is green for some secs) but then I get the message - "Initialize media command failed - permission denied" I checked the diskette,... (1 Reply)
Discussion started by: Andrey Malishev
1 Replies

6. Shell Programming and Scripting

initialize file to zero

hi can anyone tell how to initialize a file to zero (3 Replies)
Discussion started by: Satyak
3 Replies

7. Shell Programming and Scripting

Initialize a variable

Hi All, Please can you advise on how can I initialize a variable with a line. Suppose i want to initialize x with line redirects.www.virginatlantic.com.conf Best Regards, Shazin (1 Reply)
Discussion started by: Shazin
1 Replies

8. SCO

How to initialize tape drive

Hi all Just connected a SCSI tape drive to our ScoUnix server running Unixware 7.0.1. The ID assigned to it is 3. When I open ArcServe it is saying that tape drive is not found and I cannot configure it. How can I make the tape drive accessible to the system? Thanks! (4 Replies)
Discussion started by: ramon82
4 Replies

9. Red Hat

Fedora Initialize disklabel

What is the point of Fedora Initialize disklabel and how does it work? How do I check what my current Fedora's disklabel is initialized to? (1 Reply)
Discussion started by: cokedude
1 Replies

10. Shell Programming and Scripting

initialize a variable only once

hi, i have a script which needs to be run every 10 minutes.This is achieved using crontab utility, it is checking Number of calls on a service... if number of calls are not increasing then it will stop the service else do nothing. Now in the script, i fetch the current value in variable... (2 Replies)
Discussion started by: gauravah
2 Replies
Template::Plugin::URL(3pm)				User Contributed Perl Documentation				Template::Plugin::URL(3pm)

NAME
Template::Plugin::URL - Plugin to construct complex URLs SYNOPSIS
[% USE url('/cgi-bin/foo.pl') %] [% url(debug = 1, id = 123) %] # ==> /cgi/bin/foo.pl?debug=1&id=123 [% USE mycgi = url('/cgi-bin/bar.pl', mode='browse', debug=1) %] [% mycgi %] # ==> /cgi/bin/bar.pl?mode=browse&debug=1 [% mycgi(mode='submit') %] # ==> /cgi/bin/bar.pl?mode=submit&debug=1 [% mycgi(debug='d2 p0', id='D4-2k[4]') %] # ==> /cgi-bin/bar.pl?mode=browse&debug=d2%20p0&id=D4-2k%5B4%5D DESCRIPTION
The "URL" plugin can be used to construct complex URLs from a base stem and a hash array of additional query parameters. The constructor should be passed a base URL and optionally, a hash array reference of default parameters and values. Used from with a template, it would look something like the following: [% USE url('http://www.somewhere.com/cgi-bin/foo.pl') %] [% USE url('/cgi-bin/bar.pl', mode='browse') %] [% USE url('/cgi-bin/baz.pl', mode='browse', debug=1) %] When the plugin is then called without any arguments, the default base and parameters are returned as a formatted query string. [% url %] For the above three examples, these will produce the following outputs: http://www.somewhere.com/cgi-bin/foo.pl /cgi-bin/bar.pl?mode=browse /cgi-bin/baz.pl?mode=browse&debug=1 Note that additional parameters are separated by '"&"' rather than simply '"&"'. This is the correct behaviour for HTML pages but is, unfortunately, incorrect when creating URLs that do not need to be encoded safely for HTML. This is likely to be corrected in a future version of the plugin (most probably with TT3). In the mean time, you can set $Template::Plugin::URL::JOINT to "&" to get the correct behaviour. Additional parameters may be also be specified to the URL: [% url(mode='submit', id='wiz') %] Which, for the same three examples, produces: http://www.somewhere.com/cgi-bin/foo.pl?mode=submit&id=wiz /cgi-bin/bar.pl?mode=browse&id=wiz /cgi-bin/baz.pl?mode=browse&debug=1&id=wiz A new base URL may also be specified as the first option: [% url('/cgi-bin/waz.pl', test=1) %] producing /cgi-bin/waz.pl?test=1 /cgi-bin/waz.pl?mode=browse&test=1 /cgi-bin/waz.pl?mode=browse&debug=1&test=1 The ordering of the parameters is non-deterministic due to fact that Perl's hashes themselves are unordered. This isn't a problem as the ordering of CGI parameters is insignificant (to the best of my knowledge). All values will be properly escaped thanks to some code borrowed from Lincoln Stein's "CGI" module. e.g. [% USE url('/cgi-bin/woz.pl') %] [% url(name="Elrich von Benjy d'Weiro") %] Here the spaces and ""'"" character are escaped in the output: /cgi-bin/woz.pl?name=Elrich%20von%20Benjy%20d%27Weiro An alternate name may be provided for the plugin at construction time as per regular Template Toolkit syntax. [% USE mycgi = url('cgi-bin/min.pl') %] [% mycgi(debug=1) %] AUTHOR
Andy Wardley <abw@wardley.org> <http://wardley.org/> COPYRIGHT
Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Template::Plugin perl v5.14.2 2011-12-20 Template::Plugin::URL(3pm)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy