File Create Unix

2022-06-28T17:54:26

I have this data set ( txt). For example:

input:
0 275,276,45,278
1 442,22,455,0,456,457,458
75 62,263,264,265,266,267
80 0,516,294,517,518,519

I would like as output

output:
0 275
0 276
0 45
...
1 442
1 22
...
80 0

I use unix terminal. Let me know if you have some ideas. Thanks

Copyright License:
Author:「roger montez」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/72784325/file-create-unix

About “File Create Unix” questions

This is probably very easy thing but help touch does not return anything, I am trying to create a file. I could find mkdir in Matlab but not touch so how to create a file in Matlab ie the unix-style
I need to create a directory on unix machine. I think the below code will work fine on unix machine but fails while testing it on local windows machine. Where does this directory get created on my ...
I have developed a web project. Which is generating log file using log4j. But the same application is deployed in UNIX, it is not able to create log file also.. I'm new to unix. Why it is not cre...
I use Sublime 3 for C programming. If I have the C file compiled in the terminal with gcc, it will generate a executable file with the .out extension. But I can't run it by double-clicking. If I c...
I want to create empty file using Python script in Unix environment. Could see different ways mentioned of achieving the same. What are the benefits/pitfalls of one over the other. os.system('tou...
I want to create hive external table for Unix file directory, not for HDFS. Mean I want to give external path of a Unix directory so that my hive external table could point a unix file. Is it possi...
I found out that, under 'everything is a file' philosophy in Unix, even sockets are considered as files, and can be stored in a path in file system. So, I was trying to create a TCP-IP socket file ...
Can any one tell me how to create a text file in unix server through a java code? I tried running the below code but it doesnt work. BufferedWriter output = null; File file = new File("D:\abc.txt...
I am trying to create a file in Unix server(netprobes run in this server) using ITRS Geneos active console. When I assign some alert to me or snooze any alert, a file must be created in unix server...
I have a requirement where i need to create and delete a text file on unix from my windows server where i have informatica installed. Using workflow i was able to place file in unix but not able to...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.