Search Results

Search: Posts Made By: roy121
6,503
Posted By roy121
Thanks for the help... I tried sh -n...
Thanks for the help... I tried sh -n <script-name> it worked fine for some errors...

But in case of the following errors, nothing happened
Example:-


1)

export FILE1=INPUT-FILE...
6,503
Posted By roy121
Help with Check Syntax of Shell Script without Running
Hi Everyone,

Is there any way ( generic) to check syntax of Shell Scripts without running it??
2,314
Posted By roy121
there are 2 files, both have the value 4300...
there are 2 files, both have the value 4300 followed by some codes.
Now we get a request to update the codes.

So the 1st file is the original file which has the value 4300 followed by some codes....
2,314
Posted By roy121
The script is given in the 1st...
The script is given in the 1st post.......................
2,314
Posted By roy121
yes....thats correct....
yes....thats correct....
2,314
Posted By roy121
For the value 4300 produced value is: 4300...
For the value 4300

produced value is:
4300 233445569

expected value is:-
4300 234569
2,314
Posted By roy121
Help with merge and remove duplicates
Hi all,

I need some help to remove duplicates from a file before merging.

I have got 2 files:

file1 has data in format
4300 23456
4301 2357

the 4 byte values on the right hand side is...
3,801
Posted By roy121
i used : awk '{ n=split($0,arr) asort(arr) ...
i used :
awk '{ n=split($0,arr) asort(arr) for(i=0;i<=n;i++) print arr[i]}' file


but i am getting syntax error...
3,801
Posted By roy121
Absolute minimum value of a number using awk
Hi,

I have got a file in the following format:
4300 23695
4305 03591
4400 125368

I need to sort this file to find the minimum absolute value of the numbers starting from 6th pos, so the...
1,381
Posted By roy121
can you please explain the above code??? The...
can you please explain the above code???
The code given by Rudy is good....but i need a single code which will do the sorting of data col 6 onwards too......:(:(
1,381
Posted By roy121
How to compare 2 files and update one?
Hi,

I have got 2 files which i need to compare and append based on the below conditions.

file 1:

File 1 has data in the following format

4300 2356
C234 5689
5500 2345

File 2 has data...
Showing results 1 to 11 of 11

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