Search Results

Search: Posts Made By: uttamhoode
Forum: Solaris 02-02-2009
123,197
Posted By uttamhoode
awesome!!!
awesome!!!
10,829
Posted By uttamhoode
apache encode special characters in URL
Hi all,

How can I enable encoding of special characters present in URL?

eg

If the URL is

http://127.0.0.1/test.cgi?param1=test & test co

it shouldbe encoded to
...
1,787
Posted By uttamhoode
try this #!/bin/sh IP='127.0.0.1' ...
try this

#!/bin/sh
IP='127.0.0.1'
USERNAME='uname'
PASSWORD='pswd'

ftp -un $HOSTNAME <<EOF
quote USER $USERNAME
quote PASS $PASSWORD
ls
quit
EOF
echo "FTP over"
exit 0
7,213
Posted By uttamhoode
hi ran16, use -v option in grep Thanks and...
hi ran16,
use -v option in grep
Thanks and Regards,
uttam hoode
9,838
Posted By uttamhoode
hi franklin, its is creating one file for...
hi franklin,
its is creating one file for <html> </html>. how can i create one file for more than one set of <html> </html>?


eg

file.1.html
<html>
....
....
</html>
<html>
.......
9,838
Posted By uttamhoode
hi franklin, how can i create multiple file...
hi franklin,
how can i create multiple file from a huge html file?

i tried this

awk '/<html>/{n++}{print >"output" n ".html" }' input.html


but splitting is not proper. one file should...
9,838
Posted By uttamhoode
splitting huge xml into multiple files
hi all
i have a some huge html files (500MB to 1GB). Each file has multiple
<html></html> tags

<html>
.................
....................
....................
</html>
<html>...
4,577
Posted By uttamhoode
hi era, PERL script with IO operation was...
hi era,
PERL script with IO operation was taking around 90 minutes to prcess
1872 postscript with 43000 pages.

now with perl -p -i -e it s taking just 8mins....

perl and regex rocks :b:
...
3,817
Posted By uttamhoode
linux reverse page order+duplex is not working
hi all,

i have a postscript file with duplex print commands. When i print it with
lpr command it prints in duplex.

lpr -pprintername filename.ps

but when i try to print the pages in...
4,577
Posted By uttamhoode
hi all, thanks for the reply all the...
hi all,
thanks for the reply

all the solutions are working fine(after using -0777).
actully i am calling above commands in perl script and i forgot to escape speacial charactes (% $ \n etc).
...
4,577
Posted By uttamhoode
can u please check this.it didnt work for me ...
can u please check this.it didnt work for me


perl -0777 -p -i -e 's/%%Page: (4) 4(.*?)GS/%%Page: (4) 4 $1 GS setlinewidth \n 25 110 moveto \n 75 110 lineto/s' filename
4,577
Posted By uttamhoode
regular expression (.*?)
hi all,
i have a text file with below content

...............................
...............................
...............................
...............................
%%Page: (4) 4...
24,734
Posted By uttamhoode
HI chella and Tytalus, Thanx for the...
HI chella and Tytalus,
Thanx for the solution.....

Tytalus can u please give me a sed quivalent for this command?....in sed i can use inline edit option (-i) and can modify the file without...
24,734
Posted By uttamhoode
replace nth instance of string
Hi all,
I have file with following content

...........................
..........TEST..........
..........TEST..........
.....................
.....TEST..........
........................
12,298
Posted By uttamhoode
how can i update the result in the same file?...
how can i update the result in the same file? (inline edit)
12,298
Posted By uttamhoode
SED replace string by occurrence
hi all,
I have a text file with following content

PAGENUMBER
asasasa
asasasa
PAGENUMBER
sasasasasa
PAGENUMBER

using sed i want to replace PAGENUMBER by occurrence count

eg

1...
Forum: Gentoo 12-13-2007
36,009
Posted By uttamhoode
compiling 32 bit application on 64 bit linux(x86_64)
hi all,
i have a 64 bit linux machine.

$uname -a
Linux SVRDELLD30 2.6.9-42.ELsmp #1 SMP Tue Aug 15 10:35:26 BST 2006 x86_64 x86_64 x86_64 GNU/Linux

here by default gcc creates 64 bit...
1,693
Posted By uttamhoode
awk help
Hi All,

i have a log with following content

<clientRequestResponse xmlns="http://www.openuri.org/">
..........................................
<Sender>a_care</Sender>...
Showing results 1 to 18 of 18

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