我在天马彩票平台输了三十万

Questions tagged [text-processing]

我在天马彩票平台输了三十万 Manipulation or examining of text by programs, scripts, etc.

Filter by
Sorted by
Tagged with
-1
votes
1answer
29 views

string in source file line replace to matched string in destination file

destination file content shivps 256146 54645 46561431 kaspsa 212142 21244 21144664 source file content shivps 111111 22222 33333333 kaspsa 222222 11111 44444444 how to replace for same name line ...
0
votes
6answers
56 views

how to capture string from csv line that comes after specific word

how to capture string from csv line that comes after specific word for example , this is the csv line that we want to cut the strings that comes after /data/ status=true /data/sdb/hadoop/hdfs/log,/...
0
votes
1answer
25 views

How to change the background colour based on a condition of a column in Unix

I have a file with below content: <tr><td>CLNK </td><td>TR-HEH-JFGHG-MTG-N-US-00 </td><td> 841115061</td><td> 9965 <tr><td>CLNM </td>&...
0
votes
2answers
47 views

Convert large JSON file format

I'd like to know if it's possible to convert the following format {"timestamp":"1579053433","name":"1.10.207.64","value":"node-fnk.pool-1-10.dynamic.totinternet.net","type":"ptr"} {"timestamp":"...
0
votes
2answers
42 views

need help with SED to omit some expressions

sed -E 's/([0-9]{3})-([0-9]{2})-([0-9]{4})/ /g' a.dat > b.dat This is replacing 111-11-1111 to spaces , but its also replacing 0111-11-1111 to spaces to... But I want it to ignore 0111-11-1111 (...
0
votes
5answers
80 views

Split certain fields of a CSV file to spread above multiple lines while retaining the values of the non-split fields

I have a .csv file like this: IMSI,MSISDN,SUBCATEGY,EPCMMEHOST,EPCMMEREALM,EPCROAMSCH,PSROAMSCH,OINR,MSCNUMBER,VLRNUMBER,SGSNNUMBER,EPCAPNNAME,EPCAPNAMBRUP,EPCAPNAMBRDOWN,EPCAMBRUP,EPCAMBRDOWN,CHARGE,...
1
vote
2answers
47 views

Sum values in csv columns

I have several fairly large csv files that I need to sum the values of each column in and transpose the column header. Sample csv: col1,col2,col3 enabled,disabled,active disabled,disabled,enabled N/...
1
vote
3answers
39 views

How can I replace text and change encoding from a shell script without Vim?

I have a line of shell script that looks like this: vim file.xml -c "s/\r/\r/g" -c "set fileencoding=utf8" -c "wq" It works perfectly from the (macOS) terminal, but when I execute it within another ...
1
vote
2answers
53 views

Create a file with the information about line position of multiple lines

I have a file with the following column: GEOM_190_190 GEOM_190_192 GEOM_190_194 GEOM_190_196 ... Its length is around 3000 lines. I would like to write a script that creates a file with ...
0
votes
1answer
49 views

How to bash a Copy files from large text file with source and destination values in it?

I'm trying to write a script that will copy all file listed in a text file, around 3 million lines, which contains two columns, the source and the destination with a new filename: path/to/source/...
1
vote
3answers
69 views

Combine columns in one file by matching header

I'm looking to take one file that has multiple lines and many columns, add (sum) the values horizontally of columns with headers that match. In my file, (not this example) I'm ignoring the first 9 ...
0
votes
1answer
85 views

Text replacement in the middle of a line (linux command)

/dev/mapper/vgsys0-xxxx /tmp ext4 nodev,nosuid,noexec,rw 1 2 replace as below /dev/xxxxx/xxxxx-xxxx /tmp ext4 defaults,rw,nosuid,nodev,noexec 1 2 Can you help me with search /tmp word and replace ...
0
votes
3answers
45 views

Join lines in two files in bash based on value

I am trying to join 2 files using a bash script which they look like this: file1: John (20) Jim (30) Adrian Lors (23) file2: Jim some jim info here some jim other info more jim info John some ...
1
vote
2answers
36 views

How to know whether the column includes string?

I have a file that is something like as below. SNP Beta A1 A2 P rs124 -0.5 T C 0.11 rs534 0.22 A G 0.245 rs199 1.32 G C 0.345 rs947 -0.07 T G 0.00002 rs667 0.37 C T 0.04 .... There are 23640021 ...
3
votes
2answers
757 views

Why do bytes following a variable expansion in a double quoted string override the preceding bytes?

I am writing a shell script to download the latest version of some software. After I parse the output of curl I go through several steps to find the exact version string (at the moment of writing this ...

15 30 50 per page
1 2 3 4 5 428
怎么样进入赌单双软件 手机棋牌输了几百万 怎么购买手机赌博软件 我爱彩票邀请码是多少 我想查查彩票开奖结果 快钱彩票官网 快乐棋牌游戏 手机版彩票过滤工具 怎么下载波克棋牌 快乐12任5遗漏数据