Search Results

Search: Posts Made By: Trump
Forum: Programming 06-02-2010
5,463
Posted By Trump
durden_tyler, I've impressed! Thank you very much!
durden_tyler, I've impressed! Thank you very much!
Forum: Programming 06-02-2010
5,463
Posted By Trump
Select several minimum values from row (MySQL)
Hello there.
I've got the query like that

SELECT count(tour_id) AS cnt
FROM orders
JOIN tours
ON orders.tour_id=tours.id
GROUP BY tour_id

The result Is
cnt
1
4
2
1
1

Now i...
3,258
Posted By Trump
Big thanks for so many solutions :)
Big thanks for so many solutions :)
3,258
Posted By Trump
thanx, but i need to sort it by matches increase...
thanx, but i need to sort it by matches increase , or top 10 matches.
3,258
Posted By Trump
find matches in file
Hi, im have log file ~100000 lines,

192.168.29.1 at 10/08/09 13:58:55
192.168.60.1 at 10/08/09 14:11:28
192.168.58.171 at 10/08/09 14:12:45
192.168.61.12 at 10/08/09 14:15:44
192.168.60.1 at...
1,562
Posted By Trump
thnx !
thnx !
1,562
Posted By Trump
How to cut id between keywords?
Hi, how to cut id from line ?
....<a class='adata' href='User.php?uid=545554'>....
to
545554
1,209
Posted By Trump
2 sed in 1
hi how to get 1 sed from
sed 's/.*(//' | sed 's/).*//'

need to cut word in line between ()
Forum: Programming 03-27-2009
59,081
Posted By Trump
Admin linux: Recover from rm...
Admin linux: Recover from rm (http://adminlinux.blogspot.com/2006/09/recover-from-rm.html)
Forum: Programming 03-27-2009
59,081
Posted By Trump
Yes i know rm -rf , but it isn't c++ function!!! ...
Yes i know rm -rf , but it isn't c++ function!!!

if i'll aksed about "rm -Rf", i'll post it in "Shell Scripting" forum.
Actually, google said there is no c++ function like "rm -Rf". =(((
Forum: Programming 03-27-2009
59,081
Posted By Trump
Recursive remove directory.
What is the best way to completely remove dir with it's content ???
rmdir deletes only EMPTY dirs as i know.
The man page of remove function says "remove() deletes a name from the file system." ...
4,233
Posted By Trump
Shell Uri Encoding
It really to make for Russian?

from "тест" to "%D1%82%D0%B5%D1%81%D1%82"
16,425
Posted By Trump
thnx twice ! :D
thnx twice ! :D
16,425
Posted By Trump
radoulov thnx, but result : word some...
radoulov thnx, but

result :
word some text1....
word some text2....
word some text3....

need
some text1....
some text2....
some text3....
16,425
Posted By Trump
Sed or awk cut all lines after word
Hi,
sorry for newbie question :confused:
can't find how to cut ?

from
1000 2000 word some text1....
100 200 300 word some text2....
10 20 30 abc word some text3....

to
some text1.......
1,386
Posted By Trump
thnx !!!
thnx !!!
1,386
Posted By Trump
use while after if
how to use while after if???


file=/tmp/test

if cmp /tmp/1 /tmp/2 &> /dev/null
then echo "fail check ok"

while [ ! -s $file ]; do
echo "$file is empty"
wget http://link -O...
8,616
Posted By Trump
while file is empty
how can i use while loop ?

while file is empty do....
if not empty do .....

in bash
4,582
Posted By Trump
thnx :)
thnx :)
4,582
Posted By Trump
Cut lines before keyword
Hi,
How to cut all lines in file before keyword?

from
1 2333214 word ...... some text
2 234343 234234 word ...... some text
3 234324 324 3234 word ...... some text

to
1 2333214
2 234343...
1,838
Posted By Trump
thnx for script , can you tell me how to set...
thnx for script ,
can you tell me how to set first four characters to upper case?
1,838
Posted By Trump
Excuse, was mistaken at input
Excuse, was mistaken at input
1,838
Posted By Trump
cut in line
hi
how can i get from
Komendant st. house 50 ex. 1 fl. 1000 to > Kome.50.2.1000
Elsestreet house 51 ex. 2 fl. 11 to > Else.51.2.11
???
2,230
Posted By Trump
thnx ! )
thnx ! )
2,230
Posted By Trump
How to replace all after 4th character in line ?
How to replace all after 4 character at line? & convert to upper case ?

google.com -> GOOG
Showing results 1 to 25 of 25

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