This is a totally dumb newbie question, but I have not been able to find t he answer in the BASH book or online.
I am trying pass a double quoted variable to the command line.
variable = "-b \"dc=example,dc=com\""
When I run sh -x the variable comes out as '-b "dc=example,dc=com"' is... (4 Replies)
Hi,
I'm making progress on this but hung up on one last detail. I'd like to use AWK to pass the system date and time(among other things) to the first line of a file.
Here's what I have:
BEGIN {TOTALPP = 0;FREEPP=0;USEDPP=0;print "LPAR NAME:",lpar,"DATE:",tdate }
I call AWK with the... (4 Replies)
Hi,
I am generating html code using cshell, but i am having one problem while printing double quotes,
I need to write following code in file. where $var contains list of web address
<a href="$var">$var</a>
So i am using
echo "<a href="$var">$var</a>" > file.html
But with this " in... (4 Replies)
In a bash script, I need to pass a parameter that has space in-between using double quotes as follows:
CMD="SomeExecutable"
# Parameter that has a space in-between
PARAM1="TIMO 2"
CMD_IN="--name=\"$PARAM1\""
CMD_OUT=`$CMD $CMD_IN`
expected/required command execution:... (4 Replies)
My input is like this:
this is a test line.
I want my output to be like this:
"this", "is", "a", "test", "line"
Any idea how this can be done in Linux? (3 Replies)
Hi i have to insert the below line into a specific line number of another file
export MBR_CNT_PRCP_TYPE_CODES_DEL="'01','02','04','05','49','55','UNK'"
I have passed the above line to a variable say ins_line. I have used below command to perform the insert
awk 'NR==3{print "'"${ins_line}"'"}1'... (1 Reply)
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Hi,
I have a text file with different results and I would like to add single quotes to the value after the given pattern '='
This would be the original text file:
user_id=7492 and key=clickid;
user_id=7867 and key=clickid;
user_id=8649 and key=clickid;
And I would like the output to be... (9 Replies)
Hi got this issue and was wondering if someone could please help out ?
var='." "'
echo $var
." "
I 'll get ." " and not ." with 10 spaces in between "
Thanks (3 Replies)
CGI ::Application::Plugin::DBIProfile::Graph::GDGraphInliUserpContributed Perl DocumCGI::Application::Plugin::DBIProfile::Graph::GDGraphInline(3pm)NAME
CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline - Inlined GD Graph output for CAP:DBIProfile.
SYNOPSIS
# in httpd.conf
SetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline
PerlSetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline
DESCRIPTION
This module provides a GD::Graph::bars inlined graphing option for CAP:DBIProfile. Please note, inlined images are NOT supported by MSIE as
of version 7. Mozilla, Firefox, Opera, Safari, and Konqueror are supported.
The following settings control the output:
$CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::FORMAT
Output format. Defaults to "png". One of "png", "gif", or "jpeg". Any GD supported output format can be easily added.
$CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::WIDTH
Width of output image. If you have problems with browser support for large inline images, reduce this.
$CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline::HEIGHT
Height of output image. If you have problems with browser support for large inline images, reduce this.
BUGS
Microsoft Internet Explorer, as of versions 6 and 7, lacks support for the "data: URI scheme", and thus lacks support for inline images.
Inline images max size is limited to the browsers max URI length. For example, on Opera, this used to be 4kb. If you hit this limit, you
can change the size of the output to try to compensate.
REQUIREMENTS
GD::Graph
MIME::Base64
SEE ALSO
CGI::Application::Plugin::DBIProfile
CGI::Application::Plugin::DBIProfile::Graph::HTML
AUTHOR
Joshua I Miller, L<unrtst@cpan.org>
COPYRIGHT & LICENSE
Copyright 2007 Joshua Miller, 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-11-10 CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline(3pm)