Search Results

Search: Posts Made By: e9926044
2
1,284
Posted By e9926044
Thats it!! Thanks a lot!,
Thats it!!
Thanks a lot!,
2
1,284
Posted By e9926044
sort
Hello,

I would have one more question to the command sort.
If I have

myAddress1 test4_446.34.5_all.txt
myAddress1 test3_446.35.5_all.txt
myAddress1 test2_6.35.5_all.txt
myAddress1...
2,689
Posted By e9926044
I would have one last question. My Problem now...
I would have one last question.
My Problem now is, that only the first Version number is considered.
If I have a file with the following content:

myAddress1 otherName1_12.3.4_test.txt...
2,689
Posted By e9926044
Ok, I see. Now I have the following command: ...
Ok, I see.
Now I have the following command:
echo `grep -i ${name} ${FILENAME} | sort -t'_' -k2,2 -n | tail -1`

So as I understood until now I get all names from the file FILENAME with grep and...
2,689
Posted By e9926044
The problem with the command is that I don't know...
The problem with the command is that I don't know "name1" or any other name.
The file also can have this content:


myAddress1 name1_2.3.3.4_test.txt
myAddress1 name1_7.3.4_test.txt...
2,689
Posted By e9926044
I have dedected a problem concerning the command:...
I have dedected a problem concerning the command:

If I have the following:

myAddress1 name1_2.3.3.4_test.txt myAddress1 name1_7.3.4_test.txt
myAddress1 name1_12.3.4_test.txt

and I set...
3,250
Posted By e9926044
On question araised again. Is it possible only...
On question araised again.
Is it possible only to change the value of the first dedected key?
So if more than one key with the same names exists:

value1=...
value1=...

than only the first...
3,250
Posted By e9926044
Thanks a lot - it works fine. I would have...
Thanks a lot - it works fine.

I would have final question, I have a variable like this

VALUE=newvalue

how can I reference the variable VALUE in the sed command:


sed...
3,250
Posted By e9926044
Thanks a lot for the quick answer. I havn't...
Thanks a lot for the quick answer.

I havn't explained it clearly enough, my problem is that I don't know the what is after the equal (=) command, so I don't know the name value1.

Is there still...
3,250
Posted By e9926044
Write into file
Hello,

I would have one more question in order to program with Shell Script,
I have a file "TargetFile.sh" with the following content:


test1=value1
test2=value2
...


And now I wont to...
2,689
Posted By e9926044
Thanks a lot, with this one it works fine: ...
Thanks a lot, with this one it works fine:

grep -i ${Name} ${FILENAME} | awk -F_ '{if($2>a){a=$2;b=$0}} END{print b}'

I have just another question, if I have the result like this:

...
2,689
Posted By e9926044
Search in file
Hello

I have a file with the following content

myAddress1 name1_3.4.88_test.txt
myAddress1 name1_4.8.7.6_test.txt
myAddress1 name1_2.3.3.4_test.txt
myAddress1 name1_7.3.4_test.txt ...
Showing results 1 to 12 of 12

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