10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
In the below there are two generic .vcf files (genome.S1.vcf and genome.S2.vcf) in a directory. There wont always be two genaric files but I am trying to use bash to rename each of these generic files with specfic text (unique identifier) within in each .vcf. The text will always be different, but... (11 Replies)
Discussion started by: cmccabe
2. Shell Programming and Scripting
Shell script logic
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
3. UNIX for Beginners Questions & Answers
Hello all. Is there a command to copy the contents of one file into another file as the first line? (1 Reply)
Discussion started by: 2metal4u
4. Shell Programming and Scripting
I am a newbie in awk. I am struggling in this problem for a long.Actually I have two files, filea and fileb. File a is actually a search key through it I have to find the corresponding japanese tag from file b.
filea contains the data like this:
sm2420025... (3 Replies)
Discussion started by: csim_mohan
5. Shell Programming and Scripting
Dear Unix Gurus,
I am new to shell scripting and in the process of learing.
I am trying to find whether a file name has today's date in MMDDYYYY format.
I am using the following code and it doesn't seem like working.
echo today: $today
file=`find... (4 Replies)
Discussion started by: shankar1dada
6. Shell Programming and Scripting
I need help searching through a large text file. I need to find a certain string within the text, and copy each line until another string appears.
The file looks like this:
CCGGGNNNTTTAAACCCGNGNGCC... (2 Replies)
Discussion started by: repiv
7. Shell Programming and Scripting
We have 2 file XML files - FILE1.XML and FILE2.xml - we need copy the contents of FILE1.XML and replace in FILE2.xml pattern "<assignedAttributeList></assignedAttributeList>"
2. <item type="Manufactured">
4. ... (0 Replies)
Discussion started by: balrajg
8. Shell Programming and Scripting
Can you please help me to edit parts of a file and write into a new file.
Suppose I have a huge data dump in a file I need to search for a tag in that and cut few lines around that tag in the file. Is there a way to keep track of line numbers and operate on... (18 Replies)
Discussion started by: jayana
9. UNIX for Dummies Questions & Answers
This is my first day in Unix, and I am trying to copy a file called
holiday.txt from my D drive into the C drive folder called h
like currently i am in D drive, i want to copy my holiday.txt into
C\h (C drive, h folder)
i am able to copy the file in the same drive, but how to do the... (5 Replies)
Discussion started by: soujanya_srk
10. UNIX for Advanced & Expert Users
Is there a way a command or a combination through which i can check the contents of a all files in a directory and get the return as the file names which contains the partiuclar string. (2 Replies)
Discussion started by: thepitzaboy