Search Results

Search: Posts Made By: arvindng
1,504
Posted By arvindng
XML variable for input in same input file
Dear All ,

i stuck in one problem executing xml .. i have input xml as

<COMMAND name="ARRANGEMENT.WRITE" timestamp="0" so="initial">
<SVLOBJECT>
<LONG...
7,289
Posted By arvindng
Need to search in 4 lines and replace with...
Need to search in 4 lines and replace with changes in one line and append new line

Search this pattern :

3,71:16/GGGG**111***S***
13,10:51
,487:5/G_CGI
14,9:6/400000


Replace with...
7,289
Posted By arvindng
Thank you very much J could you please explain...
Thank you very much J could you please explain how it works.
7,289
Posted By arvindng
Perl search and append new line
Dear All,

I want search two lines and append some string in between these lines.

Input file
tmp,123
,10:123
tmp,666
,50:999
tmp,2:19800
5,3:21.
tmp,2:19800
55555555
tmp,2:19800...
7,080
Posted By arvindng
perl search and replace - search in first line and replance in 2nd line
Dear All,

i want to search particular string and want to replance next line value.

following is the test file.
search string is
tmp,???
,10:1 "???" may contain any 3 character it...
6,530
Posted By arvindng
duplicate lines may contain in different files......
duplicate lines may contain in different files... :(

duplicate need to identify if substr($0,38,93), substr($0,94,141) values are duplicate

thank you
6,530
Posted By arvindng
perl/shell need help to remove duplicate lines from files
Dear All,


I have multiple files having number of records, consist of more than 10 columns some column values are duplicate and i want to remove these duplicate values from these files....
1,325
Posted By arvindng
awk - to -- PERL
DEAR ALL,

i am using following command to fetch some records from more then 50000 files... command is taking more time ....

can i have perl command for the same...( i am New to perl )

awk...
1,294
Posted By arvindng
AWK program....
Dear All,
facing problem to get data in different fields. SO i am using # to get the data..
please refer my code below...



BEGIN { FS=" " }
{
if ( $1 == "START" )
{
...
1,722
Posted By arvindng
password for compressed/gziped
Dear All,


I have script which generates the reports in csv format and compress/gzip these files.
I need to put password for these compressed/gziped files and these can be...
4,046
Posted By arvindng
Dear Devaraj, given code is not able to...
Dear Devaraj,

given code is not able to grep proper string( it is spliting )

following error occurred

sh -x yyy.sh
+ 0< command.txt
+ read line
+ + echo aaaaa -t -v ttm -D -r RJLL -h...
4,046
Posted By arvindng
for loop ( string having spaces )
Dear All,

i facing problem to use string having spaces in for loop..


file used for FOR LOOP
command.txt
rpm -t -v ttm -D -r RJLL -h YELP
rpm -t -v ttm -D -r RJLL -h ERRT
rpm -t -v ttm...
11,951
Posted By arvindng
its Working!! Thank you :)
its Working!!

Thank you :)
11,951
Posted By arvindng
it not working when Alphanumeric value is...
it not working when Alphanumeric value is comming

cat test1
test,DEMTEMPUT20100404010012,,,,,,,,|0a70086|007c087,true#false#no...
11,951
Posted By arvindng
is this posible to get last string in each line??...
is this posible to get last string in each line??

my input is test,DEMTEMPUT20100404010012,,,,,,,,|0070086|0070087,true#flase#no

output should be ...
11,951
Posted By arvindng
Getting following Error awk -F '|'...
Getting following Error

awk -F '|' '{for(i=2;i<=NF;i++){ print $1.$i}}' test1

syntax error The source line is 1.
The error context is
{for(i=2;i<=NF;i++){ print >>> $1....
11,951
Posted By arvindng
split single line into two line or three lines
Dear All,

I want to split single line into two line or three lines wherever “|” separated values comes using

Input line
test,DEMTEMPUT20100404010012,,,,,,,,|0070086|0070087,

output...
1,907
Posted By arvindng
Great!!! Thanks..
Great!!!

Thanks..
2,045
Posted By arvindng
Use following code cd `which file.pl|cut -d...
Use following code

cd `which file.pl|cut -d "file.pl" -f1`
1,907
Posted By arvindng
AWK Array problem
Dear All,

I am facing problem to get right output through awk program

I have file in which “B” value is appearing multiple time and I need to capture all these values.

My script is ...
66,810
Posted By arvindng
now it is comming with in second. $date;sh...
now it is comming with in second.

$date;sh get.sh ;date
Sun Feb 22 22:54:26 IST 2009

Sun Feb 22 22:54:27 IST 2009
$
66,810
Posted By arvindng
hi, its getting sleep for only 18...
hi,


its getting sleep for only 18 seconds not 180 seconds. please help

$cat get.sh
## USAGE: get_key VAR [SECS]
## SECS defaults to 5
get_key()
{
if [ -t 0 ]
then
...
66,810
Posted By arvindng
Hi, above code is working fine! im...
Hi,

above code is working fine!

im using this code in script. whenever i press ctrl C during script execution stty setting will change and i have to logout the seesion. please give any...
12,752
Posted By arvindng
same is not working i want standerd...
same is not working


i want standerd output and error in nohup.out and only standerd error in error.txt file.

or is there any way to get only error from txt file
2,762
Posted By arvindng
session logout
hi,


im executing one script i,e sh test.sh

i want to log out the sessing after script execution.

and i do't want to user command like this.

sh test.sh ; exit


can i exit the...
Showing results 1 to 25 of 41

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