Search Results

Search: Posts Made By: Serena
2,860
Posted By Serena
The position of "qrt", "xyz" and "abc" would...
The position of "qrt", "xyz" and "abc" would change. It can be in any order.

if the input is

.......xyz: [1234] qrt: [1234]....... abz: [2312]....
.......xyz: [1231] abz: [2414]......qrt:...
1,460
Posted By Serena
I need a one liner because it is part of a bigger...
I need a one liner because it is part of a bigger script as I have mentioned. I am not sure what do you mean by homework. I am writing this script to gather a lot of different variables, and this is...
2,860
Posted By Serena
I need a one liner because it is part of a bigger...
I need a one liner because it is part of a bigger script as I have mentioned. I am not sure what do you mean by homework. I am writing this script to gather a lot of different variables, and this is...
1,460
Posted By Serena
Script to compare pattern and print a different pattern in each line
Hi,

I am writing a shell script to parse some files, and gather data.
The data in the files is displayed as below.

.......xyz: [1234] abz: [1234]......qrt: [2312]....
.......xyz: [1231] abz:...
2,860
Posted By Serena
Can you provide me with a one liner, for the...
Can you provide me with a one liner, for the above solution, i tried to modify it to a oneliner, but wasn't working. Please help

Thanks
2,860
Posted By Serena
this condition is part of a much larger script,...
this condition is part of a much larger script, Initially I have used the following condition, bu there have been changes int he file format where the values are not specific to a column, so this is...
2,860
Posted By Serena
Thank you both the solutions work, I have...
Thank you both the solutions work,

I have one more question. I also need to be able to compare the values in the same line for example

.......xyz: [1234] abz: [1234]......qrt: [2312].......
2,860
Posted By Serena
Script to match a pattern and print only the pattern and after that
Hi,

I am writing a shell script to parse some files, and gather data.
The data in the files is displayed as below.

.......xyz: [1234] abz: [8987]......
.......xyz: [12312] abz: [adfa].....
...
Showing results 1 to 8 of 8

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