10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ladies and gentleman.. I have two text file with me. I need to replace one of the file content to another file if one both files have a matching pattern.
XXXX,ABCD... (25 Replies)
Discussion started by: bananamen
2. Shell Programming and Scripting
I would like to extract the first portion of filename from a list of files.
The filename pattern is of the form 123456789_TEXT_TEXT_TEXT_.csv. I want to extract just the numerical portion of this filename from the list of files and then output this into another text file.
K (6 Replies)
Discussion started by: kamal_p_99
3. Shell Programming and Scripting
Need to sort a portion of a file in a Alphabetical Order.
Example : The user adam is not sorted and the user should get sorted. I don't want the complete file to get sorted.
Currently All_users.txt contains the following lines.
# ARS USERS
mike, Mike... (6 Replies)
Discussion started by: evrurs
4. Shell Programming and Scripting
how do I go about cutting out the first numeric characters after the word "access"?
access1005101228.merged-00.15.17.86.d8.b8.log.gz (16 Replies)
Discussion started by: GermanJulian
5. Shell Programming and Scripting
With an input file like this:
How can I get an output like this?
(In the quoted examples, the "_" sign represents an empty space)
Note that there are some minus signs and no spaces, in the example above the first character of the first line is an empty space, so each number spans 10... (16 Replies)
Discussion started by: lego
6. Shell Programming and Scripting
I have a list of xml file. I need to split the files to a different files when see the <ko> tag.
The list of filename are
... (3 Replies)
Discussion started by: natalie23
7. Shell Programming and Scripting
I posted something similar before but I now have a another problem.
I have filenames as below
i need to extract the dates as in bold. Using bash v 3.xx
Im trying to using the print sed command but... (11 Replies)
Discussion started by: santam
8. UNIX for Dummies Questions & Answers
I need to devide one file into 3 files based on column numbers and put a string (FILE1, FILE2, FILE3) in the last.....
Output2:... (6 Replies)
Discussion started by: yale_work
hi i would like to know whether i can delete a part of a file in C
for eg. if my file contained
and i want to delete
so that it becomes
is there a way i can do this.
well, one way i can achieve this is by creating a new file, copy whatever i want, then delete the... (2 Replies)
Discussion started by: sameersbn
10. Shell Programming and Scripting
I have a script which accept filename and process them, however, one of the file needs 'special' handling so I need to identify it, say the filename contains the word "STOCK" (i.e. NEWYORKSTOCKLIST20060627.txt), I want to check if the filename contains the word "STOCK", how can I do that?... (1 Reply)
Discussion started by: mpang_