Search Results

Search: Posts Made By: patx
3,413
Posted By patx
:D THANKX !!!$ ./test.sh Distributeur ...
:D THANKX !!!$ ./test.sh
Distributeur
Distributeur

123-Distributeur-123
123-Distributeur-123
Distributeur
Alliance Vivafilm


what would be the best way to change encoding w/o using vim ?
3,413
Posted By patx
i did before posting...the test is OK... the...
i did before posting...the test is OK... the problem is not there...
I extract those from a file i download from a website, when downloaded the file is ISO-8859-1 i use:

vim +"set bomb | set...
3,413
Posted By patx
oops the last file posted was dos2unixed here is...
oops the last file posted was dos2unixed here is the original
3,413
Posted By patx
ho attach you said... here it is
ho attach you said... here it is
3,413
Posted By patx
info.txt before stripping accents: Before i...
info.txt before stripping accents:

Before i did a dos2unix the read LINE < info.txt was including a line return into the variable


Distributeur
Alliance Vivafilm
Origine
États-Unis
Genre...
3,413
Posted By patx
Tthere are no accents on Distributeur... it does...
Tthere are no accents on Distributeur... it does not seems to have any trailing space or line return either...

thank you
3,413
Posted By patx
Why does my test fail ??
Hello,

I am stuck... i dunno why does my test fail... any idea ?
#!/bin/bash
dos2unix info.txt
Distor=Distributeur
LINE=$(cat info.txt | sed -n 1p)
echo $LINE
echo $Distor
echo ""
echo...
1,150
Posted By patx
This is great thankx again :D
This is great thankx again :D
1,736
Posted By patx
sed replace after pattern help needed
Hello,

I have a file with multiple lines like this:

/film/4295/"_class="titre_article">50/50I would like to change all occurence of / after > with _ to have this:
...
1,150
Posted By patx
To say the part about mkdir i have figured it out...
To say the part about mkdir i have figured it out using this:

#!/bin/bash
date=$(date +%y%m%d)
mkdir $date
vim +"set bomb | set fileencoding=utf-8 | wq" $(find . -type f -name *.php)
cat...
1,150
Posted By patx
I need help with sed
Hello,

After stripping and converting encoding of a php file i have this:

/film/5232/"_class="titre_article">Enlevement
/film/3864/"_class="titre_article">Bucky_Larson:_Ne_pour_etre_star...
6,213
Posted By patx
Its ok, the problem was tcpflow, i have patched...
Its ok, the problem was tcpflow, i have patched it so it does not strip non printable character when output is sent to stdout.
6,213
Posted By patx
Hello again and merry Xmass to all, thankx again...
Hello again and merry Xmass to all, thankx again Franklin52 for your fix

After experimenting with tcp test tool and tcpflow i discovered that tcpflow -C ( print to console ) implies -s witch...
6,213
Posted By patx
Help with sed to add delimiter to send HEX with netcat
Hello,

I want to send tcpflow dump to a TCP port in HEX data, to send with netcat i need to convert to HEX and add \\x before each HEX bytes, to do this i use this line:
tcpflow -i [interface] -C...
8,772
Posted By patx
I got it working it was a timeout problem... ...
I got it working it was a timeout problem...

to get trough this problem i PSCP a SH script along with my file with the timeout cmd then used plink to start the SH script.

PSCP --- dreambox1--- ...
8,772
Posted By patx
I am looking at doing the same thing... I...
I am looking at doing the same thing...

I made a simple BAT file that send a file with PSCP and a command with PLINK, it works fine but it hangs after PLINK...

What i would like to do is:...
Showing results 1 to 16 of 16

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