Hello, I am new to learning awk. I have this input and I would like to obtain this output. How I can resolve it?
Input:
lastname firstname geneABC232 geneB12 geneG33
Smith John 1 0 0
Smith John 0 1 0
Smith John...
-- DESCRIPTION -----------------------
I would like to write a script with awk or vim to process Lab Blood Tests in xml format to
import with SPSS.
Each blood test is an xml file.
If I have (for example):
1000 Lab Blood Tests (1000 xml files)
250 patients
4 blood tests/patient
Each Blood...
I want to replace this "" for this "/tmp/" in all the files of a folder. But only in the lines that begin with the word string. (Please notice that the input has "" and the output has to "").
Hi feherke, and thanks.
I still have some problem. I get the 1000 files duplicated with "material" changed to its filenames. But I don't want to duplicate these 1000 files, I only want to duplicate one file, the "scene.rib", 1000 times. And each one of the 1000 duplications of "scene.rib" must...
I have one text file where appears the word "material".
I want to repeat this file 1000 times and in each file replace "material" with one of the filenames of other 1000 files that I have in other folder. How I can do it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.