10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The bash will trim the folder to trim folder. Within each of the folders (there may be more than 1) and the format is always the same, are several .bam and matching .bam.bai files (file structure) and the bashunder that executes and trims the .bam as expected but repeats the.bam.bai extentions... (9 Replies)
Discussion started by: cmccabe
9 Replies
2. UNIX for Beginners Questions & Answers
I have a file like this.
hari,corporationbank,2234356,syndicate
ravi,indian bank,4567900000000,indianbank,accese
raju,statebank of hyderabad,565866666666666,pause
Here each record has different record length and there are blank spaces... (8 Replies)
Discussion started by: kshari8888
8 Replies
3. UNIX for Dummies Questions & Answers
How do i get the following output, irrespective of how many . 's i will have the file name.
Input:
FCBTexas_2013_12_31_16_V2.5_Masked.xml.filepart
Output:
FCBTexas_2013_12_31_16_V2.5_Masked.xml
Thank you. (6 Replies)
Discussion started by: Ariean
6 Replies
4. Shell Programming and Scripting
Hi All,
I want to trim each columns leading & trailing (like sql trim function) of a ',' separated file..
I've a file like this..
manab , c gi
lucky , home
babu , maa
I want the output as
manab,c gi
lucky,home
babu,maa
A one liner would be a great help. (2 Replies)
Discussion started by: manab86
2 Replies
5. UNIX for Dummies Questions & Answers
I want to remove first xx letters from filename_xx . How is that possible using linux. I have many files where xx could be same in many but filename is always unique. Thanks! (1 Reply)
Discussion started by: keysoon
1 Replies
6. Shell Programming and Scripting
Hi,
I'have a file as below
I need to replace the comma at the end of the file into ) as below
Thanks (1 Reply)
Discussion started by: dvah
1 Replies
7. Shell Programming and Scripting
Hi,
I'have a file as below
I need to replace the comma at the end of the file into ) as below
Thanks (0 Replies)
Discussion started by: dvah
0 Replies
8. Shell Programming and Scripting
I am capturing the files in a directory to an array. I have 2 arrays with list of files in two different directories. Both the directories are supposed to have the same number of files and filenames.
I want to check that the same file exists in both the directories. After I capture the... (1 Reply)
Discussion started by: Sangtha
1 Replies
9. Shell Programming and Scripting
Hi,
I'm new to shell programming. Need some help in the following requirement:
I have a file origFile.txt with values:
origFile.txt
.00~ 145416.02~ xyz~ ram kishor
.35~ 765.76~ anh reid~ kishna kerry
Now each row in the file has value for 4 columns with "~" as... (7 Replies)
Discussion started by: badrimohanty
7 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a 6G log , which is unusual to read and I want to minimize it by removing some part on the upper portion( around 4GB). what should i do? can you please help me?
thanks. (1 Reply)
Discussion started by: tungaw2004
1 Replies