Search Results

Search: Posts Made By: vinothsekark
5,194
Posted By vinothsekark
How to run scripts parallely inside shell script?
Hi ,

I have 4 scripts example script1,script2,script3,script4 .

I have to run script1,script2 and script3 parallely since this 3 scripts dont have dependencies .
Once script1,script2 and...
1,632
Posted By vinothsekark
Thanks Chubler it works ..
Thanks Chubler it works ..
1,632
Posted By vinothsekark
Printing with decimal places from last 4 digits
I have input file like below,

201424|9999|OSS|622010|RGT|00378228764
201424|8888|OM|587079|RGT|00284329675
201424|7777|OM|587076|RGT|00128671024
201424|6666|OM|581528|RGT|00113552084

Output...
5,496
Posted By vinothsekark
Hi, Below is input 1.hi this is...
Hi,

Below is input

1.hi this is "vinoth".
2.iam software 'engineer'.
3.How is life (not good).
4.i have used version 1.0 as the software.And yu are the first price if 1.06.wat is involved?
...
5,496
Posted By vinothsekark
yes if protected with single quotes error is...
yes if protected with single quotes error is getting ignored.

But still output is coming like this..

1.hi this is "#890vinoth"#890.#$567
2.iam software 'engineer'.#$567
3.How is life (^986not...
5,496
Posted By vinothsekark
Hi scrutinizer, i tried the below script, ...
Hi scrutinizer,

i tried the below script,

#!/bin/bash

Dquote=ͺ
Squote=&#$567
Obrac=&^986
Cbrac=&^745

sed "s/\"/$Dquote/g; s/\'/$Squote/g; s/(/$Obrac/g; s/)/$Cbrac/g" file


Below is...
1,654
Posted By vinothsekark
Thanks Indhu,it works thanks a lot.
Thanks Indhu,it works thanks a lot.
5,496
Posted By vinothsekark
Hi Scrutinizer , sed "s/\"/$Dquote/g;...
Hi Scrutinizer ,

sed "s/\"/$Dquote/g; s/\'/$Squote/g; s/(/$Obrac/g; s/)/$Cbrac/g" infile
It is not working ,Iam getting below output

script.bash: line 4: ^986: command not found
script.bash:...
1,654
Posted By vinothsekark
Hi Indhumathy , It works but it is replacing...
Hi Indhumathy ,

It works but it is replacing all the .(dot).

I have the below line from the file as input

1.Hi this software version 1.0 is useful.But not used everywhere.

I want output...
5,496
Posted By vinothsekark
How to substitute variable in sed for special character?
Hi ,

I have input file like below

Hi this is "vinoth".
Hi happy to work with 'unix'
USA(united states of America)

My script variables are below :

Dquote=Ộ
Squote=&#$567
Obrac=&^986...
1,654
Posted By vinothsekark
How to replace quote symbol(") and dot(.) with some other values!!
Hi ,

I have below input file

1.order number is useful.
2.vendor_id is produced.
3.the vandor name is "malawar".

I want output file like

1. order number is useful.
2. vendor_id is...
1,367
Posted By vinothsekark
Thanks all it works. Thank you very much.
Thanks all it works. Thank you very much.
1,367
Posted By vinothsekark
removing the words with symbols in a file in unix
I have file like below

Hi iam author <br>joseph</br> in france.
I live in my home <br></br> but no food.
I will play footbal <br></br> but i wont play cricket.
I will read all the books <br>all...
2,984
Posted By vinothsekark
Hi shamrock , Iam working on Linux...
Hi shamrock ,

Iam working on Linux platform.What will be the issue?

---------- Post updated at 08:50 AM ---------- Previous update was at 08:49 AM ----------

Methyl ,

Iam sure that i...
2,984
Posted By vinothsekark
Mail not attaching the attachment when schedule in crontab
Hi ,

Iam want to send the mail with attachment , iam using below in my script
uuencode /path/pathname/filename filename.csv | mailx -s "subject of mail" vinoth@xxx.com

when i trigger the...
1,184
Posted By vinothsekark
How to sort the numbers with symbol like '%' and alphabets '5M' and '52G'?
Hi all ,

I have below input
124M 56M 63M 48% /opt/isv/microsoft

1.1G 133M 922M 13% /opt/isv/mqm

5.0G 2.5G 2.3G ...
3,093
Posted By vinothsekark
Corona , Thanks a lot it is very helpful.
Corona ,

Thanks a lot it is very helpful.
3,093
Posted By vinothsekark
Coronna , Can you please give me some clear...
Coronna ,

Can you please give me some clear syntax for how to check the conditions between every retry?
wget --retries=3 https://url....

when first time it retries it should check the...
3,093
Posted By vinothsekark
How to manipulate the conditions between every retry in wget?
Hi ,

When i hit the URL using WGET command ,it is retrying according to the number of retry we mentioned along with Wget command.

my expectation :
1) If 1st try is failed and iam retrying...
8,422
Posted By vinothsekark
Hi Corona688, Thanks for your help on Wget....
Hi Corona688,

Thanks for your help on Wget.

my expectation :

1) If 1st try is failed and iam retrying again before 2nd retry i have to check for "xxxxxxx" entry in the log file.
2) If...
7,739
Posted By vinothsekark
hi arun , when iam getting the average from...
hi arun ,

when iam getting the average from the above code,It gives 5 or 6 decimal places like "-4.714" and some avg values like "-4.16666".I want it like "-4.71" and "4.16".

...
8,422
Posted By vinothsekark
WGET command retrying to get response
Hi ,

Iam using " WGET " command to hit the URL,i.e. servlet url.

I can trigger the servlet using wget but when servlet is not responding this command retries automatically until it get the...
7,739
Posted By vinothsekark
Arun, Thanks for your prompt response..Now...
Arun,

Thanks for your prompt response..Now it works thanks a lot.

Your script is good and nice logic too.:)
7,739
Posted By vinothsekark
hi arun, thanks for your response.Your...
hi arun,

thanks for your response.Your script printing only

A , C, D,Diff_count,min(H column),max(H column),AVG(H column)
4141
4141
4149

my expected output is like below

A , C,...
7,739
Posted By vinothsekark
How to find the average,min,max ,total count?
Hi ,
Below is my sample data,I have this 8 column(A,B,C,D,E,F,G,H) in csv file.

A , B ,C ,D ,E ,F,G ,H

4141,127337,24,15,20,69,72.0,-3
4141,128864,24,15,20,65,66.0,-1...
Showing results 1 to 25 of 25

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