Search Results

Search: Posts Made By: tara123
831
Posted By tara123
Thank you very much. It worked.
Thank you very much. It worked.
831
Posted By tara123
this did not work. perl -lpe 's/\s\K\S+/join...
this did not work.

perl -lpe 's/\s\K\S+/join ",", grep {!$seen{$_}++} split ",", $&/e'
831
Posted By tara123
How can I remove partial duplicates and manipulate text?
Hello,

How can I remove partial duplicates and manipulate text in bash using either awk, grep or sed? Thanks.


Input:

ted,"foo,bar,zoo"
john-son,"foot,ben,zoo"
bob,"bar,foot"

...
1,383
Posted By tara123
I can not for multiple url and multiple pattern....
I can not for multiple url and multiple pattern. Thanks.

my code:

wget -q www.domain.com -O - | grep -o -E -m 1 '"web=([^"#]+)"' | cut -d'=' -f2
1,383
Posted By tara123
Multiple Grep command
Hi,

I have an url.txt I need check them and grep some data.

url.txt
domain.com
domain2.com
domain3.com
.....All sites urls have in source this patterns:
"web=pattern1"
"net++pattern2"...
1,284
Posted By tara123
How to get real path to a file?
Hello,

I need download a mp3 file from a site but I can not find the actual link. Thanks.

Source codes

<span title="what is" class="read"><embed type="application/x-shockwave-flash"...
1,026
Posted By tara123
Mysql Content Replace
I have a wordpress site. I need add "post_title" to all my "post_content" mysql field. Thanks.
my content: Free <b>Online Tips</b> output:Free post_title <b>Online Tips</b>:



This code...
1,901
Posted By tara123
Bash Script - File Size
I have a bash script. I need a modification for safety.

my original bash script:

mv /home/script/backup /home/script/backup2
mysql -u user -ppassword -Ddatabase --batch --skip-column-names -e...
1,357
Posted By tara123
it is solved thanks.
it is solved thanks.
1,357
Posted By tara123
Shell script - Download - Mysql replace
Hi,

I have a video script. it has embedded Youtube videos. I want replace them downloaded version mp4 videos.

this script has a mysql table. I want search "url_flv" field on table a youtube...
5,231
Posted By tara123
Thank you very much for answering this tough...
Thank you very much for answering this tough question. This will be very useful to me!
You are great! :)
5,231
Posted By tara123
but i have not ssh access on remote ftp server.
but i have not ssh access on remote ftp server.
5,231
Posted By tara123
Yes i have only to the server.
Yes i have only to the server.
5,231
Posted By tara123
centos 6 - 64 bit
centos 6 - 64 bit
5,231
Posted By tara123
Remote FTP Backup -Tar archive+ encrypt+ split to a remote ftp
I have a huge directoy(200+ gb) for backup. I want upload the tar file(split files) simultaneous to a remote ftp. (pipeline, stdout, stdin etc.)

I don't want write a data to local hdd. I have a...
2,532
Posted By tara123
ok its works now :) thank you very much.
ok its works now :) thank you very much.
2,532
Posted By tara123
Hi, it gives an error on centos
Hi,

it gives an error on centos
2,532
Posted By tara123
[Solved] Manipulate a CSV File
Hello,

How do i manipulate .csv file to this format?

Thank you very much.

Source:

john,5
marco,7
john,4
paul,3
marco,8



Output:

john,9
marco,15
7,874
Posted By tara123
Update a mysql column via bash script
Hello,

I want to check the value of all MySQL columns.(column name is "status") via bash script.

If value is "0" at I want to make only single column value to "1"

I have many "0" values on...
1,422
Posted By tara123
Thanks it is works :)
Thanks it is works :)
1,422
Posted By tara123
Thank you but output: table***wood ...
Thank you but output:

table***wood
2345garfield
2345cars
snack***top
big***zen
1,422
Posted By tara123
2345 is a fixed number. can be any number. ...
2345 is a fixed number. can be any number.

input:

***table***wood
***table***garfield
***table**cars
***snack***top
***big***zen

output:

***table***wood2345garfield2345cars...
1,422
Posted By tara123
Merge matching rows
Hello,

I need this output. thank you very much.

input:

Code:

***table***wood
***snack***top
***table***garfield
***big***zen
***table***cars
output:

Code:
...
2,499
Posted By tara123
I have a problem this solution. I don't want sort...
I have a problem this solution. I don't want sort the text. they are doing it.

input:


111
222
444
111
333
888
222
666





output:
2,499
Posted By tara123
Awk solution is great thanks :)
Awk solution is great thanks :)
Showing results 1 to 25 of 41

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