$
$ # check the file "f6" before making the change
$ cat f6
Param file
[Global]
$$ID=<0>
$$Country=<Country>
$
$ # set and export a shell variable called "VAL"
$ VAL=33
$ export VAL
$
$ # run the Perl one-liner to plug in the value of "VAL"
$ perl -pi -e "s/^(..ID=<).*?(>)/\${1}$VAL\$2/" f6
$
$ # check the file "f6" after making the change
$ cat f6
Param file
[Global]
$$ID=<33>
$$Country=<Country>
$
$
I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible?
I have the following statement in my scripts
use myUtil;
I want to change it to
use myUtil777;
Regards,
Rahul (2 Replies)
Hello,
I have a Perl script that reads in an Excel spread sheet and formats the values into a text file. I am having trouble with one column that can have numbers or letters. Excel left justifies the values that start with a letter and right justifies the values that contain only a... (2 Replies)
Hi,
I have string like this:
$query="#1,apple";
$string=$query;
I want to replace #1 with fruit. I tried like this:
string=~s/#\d+/$query/ig;
print "\n string: $string\n";
It is working only when there is single #1 or #2 but when i give like #1,#2,#3,apple the above code... (2 Replies)
Hi,
I have a file with the following contents and i want to replace that value in a file with some other value.
#file.txt
/local/Disk/data
n
192.168.55.98
52035
3
1
2
1
1
192.168.55.98
Here is my code. (2 Replies)
I am trying to write a simple perl script to run on a FreeBSD machine.
There are alot of posts here, and I have read so many, yet can not get this script to run.
#!/usr/bin/perl
-e 's/\r\n/~/' infile.txt outfile.txt
I am trying to take a windows text file, move it into Unix, run a script on... (1 Reply)
Hi,
I have a file with two string :
aa_bb_cc_def
gg_hh_jj_xyz
now i want a command in perl script, which gives me the result as :
aa_bb_cc.def
gg_hh_jj.xyz
Can anyone help me on this plz..
thanks in advane. (6 Replies)
Hi All,
I am having below issue could anybody help me.
$x= SELECT * FROM EMP --xyz this change is done in q2;
I want delete the charchters from -- to till the end.
I want $x to be
$x= SELECT * FROM EMP;
Thanks,
Vijay G (1 Reply)
Hi
I have a file newfile.txt in perl. Its content is
2253397806-Dec-11 03.04.14.000000 PM9999901-May-12 03.28.21.000000 PM222212{|}
2905597803-Jan-12 01.24.24.000000 AMBank_CreateCustomerDET01-May-12 11.14.53.000000 AM232382{|}
I have to replace by |
and {|} by... (5 Replies)
Hi,
I have an input file and a config file which I need to lookup values in using Perl:
Input file:
ID, Value
COMP0,0
COMP1,1
COMP2,2
COMP3,3
COMP4,3
COMP5,5Config file:
ID, Operation
COMP0,((@COMP1@ + @COMP2@ + @COMP3@) / @COMP4@) + @COMP5@Expected output:
ID, Value
COMP0,7 # This... (0 Replies)
How can I achieve this? Perl would be awesome.
Input string a_b c //Note there is a blank here
Needed Output a_b_c
Thanks (4 Replies)
Discussion started by: dragonpoint
4 Replies
LEARN ABOUT DEBIAN
edje_cc
EDJE_CC(1) The edje compiler EDJE_CC(1)NAME
edje_cc - an edje compiler
SYNOPSIS
edje_cc [OPTIONS] input_file.edc [output_file.edj]
DESCRIPTION
edje_cc is a compiler for edje files
EXAMPLES
edje_cc -v file.edc
OPTIONS -id image/directory Add a directory to look in for relative path images
-fd font/directory Add a directory to look in for relative path fonts
-v Verbose output
-no-lossy Do NOT allow images to be lossy
-no-comp Do NOT allow images to be stored with lossless compression
-no-raw Do NOT allow images to be stored with zero compression (raw)
-min-quality VAL Do NOT allow lossy images with quality < VAL (0-100)
-max-quality VAL Do NOT allow lossy images with quality > VAL (0-100)
-Ddefine_val= to CPP style define to define input macro definitions to the .edc source
SEE ALSO edje_decc(1)edje_recc(1)BUGS
Please reports bugs to the Pkg-E Team <pkg-e-devel@lists.alioth.debian.org>
AUTHOR
This man page was written by Ronald Claveau for the Debian GNU/Linux system (but may be used by others).
0.5.0.042 Jan 29, 2007 EDJE_CC(1)