9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to append multiple files in a directory
cat /a/file1.txt /a/file2.txt /a/file3.txt /a/file4.txt > /a/file.txt
Except file2 every other file is appending.
I interchanged file names and ran the command. Whatever file repeating in the second position is missing in output... (6 Replies)
Discussion started by: eskay
6 Replies
2. Shell Programming and Scripting
Hello expert friends,
I'm writing a script to capture stats using sar and stuck up at report generation.
I have around 10 files in a directory and need to merge them all vertically based on the time value of first column (output file should have only one time value) and insert comma after... (6 Replies)
Discussion started by: prvnrk
6 Replies
3. UNIX for Advanced & Expert Users
hi,
i need a help in the script , need to append a string at the end of each line of a files , and append the files into a single file vertically.
eg
file1 has the following columns
abc,def,aaa
aaa,aa,aaa
files 2 has the following rows and columns
abc,def,aaa
aaa,aa,aaa
i... (3 Replies)
Discussion started by: senkerth
3 Replies
4. Shell Programming and Scripting
I do have a big file in the following format
>A1
ATGCGG
>A2
TCATGC
>A3
-TGCTG
The number of characters will be same under each subheader and only possible characters are A,T,G,C and -
I want to count the number of A's, T's,G's, C's & -'s vertically for all the positions so that I... (5 Replies)
Discussion started by: Lucky Ali
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i am using unix server and bash shell..
i have two csv files...
i have file 1 as below...
arun
bvb
ssx
ccc
and file 2 as below
manas
friu
dfgg
cat (3 Replies)
Discussion started by: arunmanas
3 Replies
6. Shell Programming and Scripting
Hi,
This might be a question that has an easy solution but im new to unix. I have a project where I have to append files that are in a directory and then read those files out.
can anyone help me this this problem???
thanks in advance,
TDS (1 Reply)
Discussion started by: TDS
1 Replies
7. UNIX for Dummies Questions & Answers
hi,
I want to append to two files into a third file without new line
like this:
file 1:
I am learning the unix
file 2:
Unix is very intersting
When I am trying cat file1 file2 >> file3
I am getting:
I am learning the unix
Unix is very interesting
But I want that to be in... (3 Replies)
Discussion started by: harish409
3 Replies
8. UNIX for Dummies Questions & Answers
I have some files created by a process in UNIX. I wanted to do some file processing:
1. I want to append a string "EOF" as the first word on the last line of all the files except the last file.
2.Similarly, I want to append "BOF" string as the first word to all the files except the first... (2 Replies)
Discussion started by: vijaylak
2 Replies
9. UNIX for Dummies Questions & Answers
I have 25 transaction files that need to be put into one file and have the date of the file appended at the end of the line, anyone got a one liner or simple script to help me out
thanks
- Ed (4 Replies)
Discussion started by: edog
4 Replies