Hi,
I have to manipulate a data file which say reads like this
{$index $value $error_on_value}
aa 4.56 0.7
bb 123.456 0.00987
cc 987654 321
.
.
in easily human readable format of type
aa 4.6(7)
bb 123.456(1)
cc 9.877(3)e+05
value rounded to 4.6 with error of 0.7 on the last... (4 Replies)
Which is the best command(s) to arrange data of a file?
This is my example input file:
Tom ------
apples: 5
oranges: 7
pears: 10
apples: 2
oranges: 8
Jack ------
apples: 3
pears: 10
Lucy ------
oranges: 1
pears: 8
peaches: 9
Tom ------
peaches: 1
Jack ------ (1 Reply)
Data on my input file :
Ac1n1s1c2n2s2XPd1r1e1t1d2r2e2t2d3r3e3t3d4r4e4t4RT
Bh1k1p1h2k2p2NTq1y1f1m1q2y2f2m2q3y3f3m3q4y4f4m4ZN
and i want the output to be:
Ac1n1s1XPd1r1e1t1RT
Ac1n1s1XPd2r2e2t2RT
Ac1n1s1XPd3r3e3t3RT
Ac1n1s1XPd4r4e4t4RT
Ac2n2s2XPd1r1e1t1RT
Ac2n2s2XPd2r2e2t2RT... (6 Replies)
Hi All,
I am new to forum, I am looking to arrange a file in specific format but unable to get the formula to do it, already googled for the same, but didnt find the answer :(. hope to get help here :o:o:o:o:o
I have to files :
$ cat Dev_List2
0685
0686
0687
0688
0689
068A
068B
068C... (2 Replies)
Hello everyone,
I have some problem about this code :
#!/usr/bin/env python
import sys
try :
filename = sys.argv
except :
print 'Specify filename'
sys.exit()
fd = open(filename)
lines = fd.xreadlines()
compare = {}
for line in lines :
split_line =... (1 Reply)
Hello All,
I have following data into my file named record.
Name City phone number email
Jhon Newyork 123456987 jhon@gmail.com
Maria Texas 569865612 Maria_Sweet@rediffmail.com
Chan Durben NA Chan123@gmail.com
|---------------------------------------------------------------|
|Name ... (2 Replies)
Hello All,
I have following data into my file named record.
Name City phone number email
Jhon Newyork 123456987 jhon@gmail.com
Maria Texas 569865612 Maria_Sweet@rediffmail.com
Chan Durben NA Chan123@gmail.com
The output should be in straight columns.. There should not be any... (1 Reply)
/clusters/cluster-1/exports/storage-views/M1_CRE03_SV:
Name Value
------------------------ ---------------------------------------------------------------------------------------------------
caw-enabled true
controller-tag -
initiators ... (7 Replies)
Discussion started by: greycells
7 Replies
LEARN ABOUT MOJAVE
curlopt_ftp_skip_pasv_ip
CURLOPT_FTP_SKIP_PASV_IP(3) curl_easy_setopt options CURLOPT_FTP_SKIP_PASV_IP(3)NAME
CURLOPT_FTP_SKIP_PASV_IP - ignore the IP address in the PASV response
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_SKIP_PASV_IP, long skip);
DESCRIPTION
Pass a long. If skip is set to 1, it instructs libcurl to not use the IP address the server suggests in its 227-response to libcurl's PASV
command when libcurl connects the data connection. Instead libcurl will re-use the same IP address it already uses for the control connec-
tion. But it will use the port number from the 227-response.
This option thus allows libcurl to work around broken server installations that due to NATs, firewalls or incompetence report the wrong IP
address back.
This option has no effect if PORT, EPRT or EPSV is used instead of PASV.
DEFAULT
0
PROTOCOLS
FTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.14.2
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_FTPPORT(3), CURLOPT_FTP_USE_EPRT(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_FTP_SKIP_PASV_IP(3)