04-21-2018
Have you tried anything at all? Please show us.
This question, if it is not homework, needs some explanation. For example, I could answer your question correctly using a weird programming language like LISP.
Usually you need to tell us:
1. UNIX type like linux, AIX, etc
2. language you are using: like C, COBOL, bash
Then we can give you good answers.
This sounds like homework to me. We have a special forum for that and may ask you to fill out the homework template first, where you have to answer those questions above first as well.
This User Gave Thanks to jim mcnamara For This Post:
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have duplicates records in a file, but they are not consecutive. I want to remove the duplicates , using script.
Can some one help me in writing a ksh script to implement this task.
Ex file is like below.
1234
5689
4556
1234
4444 (7 Replies)
Discussion started by: Srini75
7 Replies
2. Shell Programming and Scripting
Hi all,
I'm looking for some tips on an ideal method of parsing a huge fixed length flat file (~500gb) into a delimited text file. We have to do this because our data warehouse platform only accepts delimited file loads. In the past, we've done this with SAS (only on smaller ~40GB files) by... (1 Reply)
Discussion started by: cg2
1 Replies
3. Shell Programming and Scripting
I have a huge collection of HTML files. They have their own file names with htmlextension. I want to rename each of these files with continuous numbers starting from 1.html till the last count of files. Simply it means that if there are three files like this
abc.html
cdfhg.html
rmbd.htmlthen... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
4. Shell Programming and Scripting
I have a requirement like this...
I want to go to a particular server for which i have acess .I want to do a ssh to that server from one server and check if a file is theer or not..and i need the script to chcek continuosly till it finds the file.When it finds the file i want it to come out... (9 Replies)
Discussion started by: kanta_bhakti
9 Replies
5. Shell Programming and Scripting
Hi all,
I have a file like this I want to extract only those regions which are big and continous
chr1 3280000 3440000
chr1 3440000 3920000
chr1 3600000 3920000 # region coming within the 3440000 3920000. so i don't want it to be printed in output
chr1 3920000 4800000
chr1 ... (2 Replies)
Discussion started by: amrutha_sastry
2 Replies
6. Shell Programming and Scripting
I have 100k data like this bellow , i want to group data to range
171
172
173
174
175
176
179
182
183
187
188
189
1900
1901
1903
1904
1905
1906 (10 Replies)
Discussion started by: before4
10 Replies
7. Shell Programming and Scripting
Hello Folks,
Looking for a script, where i can check for the existing of the files in a directory and copying to another.
How can i achieve it in loop for over period of time.
whatever files comes into the folder copied in another without duplicate and should be continuous loop.
... (8 Replies)
Discussion started by: sadique.manzar
8 Replies