Search Results

Search: Posts Made By: roopa
12,553
Posted By roopa
Is there any way to get color print inside text...
Is there any way to get color print inside text editor?
12,553
Posted By roopa
color print using perl
Hi
i want to print the text in different color using perl script.
i am able to print on console(terminal).
but if i try to print the same into a file, i am not able to do
color.pl...
1,465
Posted By roopa
perl script to search n place a pattern
hi,
i have one file as t1.txt as below
hi
hello
welcome

i want perl script to search for the pattern "abcd" in the file.
if the pattern doesn't exist, i want to insert that pattern at the...
4,457
Posted By roopa
perl script print the lines between two pattern
i have a file as below

sample.pl

parameter1
argument1
argument2
parameter2

I want out as below

argument1
argument2

that is , i want to print all the lines between parameter1 &...
891
Posted By roopa
Need to include " , " between two parameter in perl
i have two files
t4.txt
para1
para2

t5.txt
34
56

after compiling the following in perl

system("paste t4.txt t5.txt > table.txt");
i am getting o/p as
para1 34
para2 56

but i...
4,814
Posted By roopa
i am getting error as below: Use of...
i am getting error as below:
Use of uninitialized value in concatenation (.) or string at rr.pl line
4,814
Posted By roopa
usage of AWK command under perl script
i have two files as shown below
t1.txt:
argument1
argu2
argu37

t2.txt:
22
33
44

i want o/p as
argument1 22
argu2 33
argu37 44

...
1,150
Posted By roopa
perl/shell script
The content of file t1.txt and t2.txt is as below:
t1.txt:
para1
para2
para3

t2.txt:
22
33
44

after the execution of the following command the content of ff.txt is given below:
paste...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy