10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have to sort below output in text file in unix bash
PM,U,233 (8 Replies)
Discussion started by: Adfire
2. Shell Programming and Scripting
I'm trying to sort a large data file by the 3rd column so that all of the first words in the 3rd column that are in all uppercase appear before (or after) the non uppercase words. For example,
xxx 12345 Rat in the house
xxx 12345 CAT in the hat
xxx 12345 Dog in the... (4 Replies)
Discussion started by: palex
3. UNIX for Advanced & Expert Users
I have a text file and each field is separated by semicolon ( ; ). Field number 7 is internally separated by comma ( , ) and pipe ( | ) symbol. I want to sort file based on three different fields which are marked in BOLD.
Here first BOLD field will have numbers upto the length of 9 characters,... (6 Replies)
Discussion started by: jnrohit2k
4. Shell Programming and Scripting
Hi. I am not sure the title gives an optimal description of what I want to do. Also, I tried to post this in the "UNIX for Dummies Questions & Answers", but it seems no-one was able to help out.
I have several text files that contain data in many columns. All the files are organized the same... (14 Replies)
Discussion started by: JamesT
5. Shell Programming and Scripting
I want to Sort the data in fixed width file where i have Header and Footer also in file.
I m using below commad to do the sort based on field satarting from 15 position to 17 position , but it is not ignoring the Header and Footer of the file while sorting. In the output i am... (5 Replies)
Discussion started by: sasikari
6. Shell Programming and Scripting
I have a big data file (160 MB) full of records with pipe(|) delimited those fields. I`m sorting the file on the first field.
I'm trying to sort with "sort" command and it brings me 6 minutes.
I have tried with some transformation methods in perl but it results "Out of memory". I was... (2 Replies)
Discussion started by: rubber08
7. Shell Programming and Scripting
So, I will be working with someone and basically we are trying to build a form that is submitted most likely via the web and the data is just a string of numbers.
Now, each number is part of a numerical value of... (4 Replies)
Discussion started by: tlarkin
8. Shell Programming and Scripting
I have a file with data as follows:
i need all the data followed by the string <xml?
Is it possible to retrieve it? (1 Reply)
Discussion started by: Vijay06
9. UNIX for Dummies Questions & Answers
Hello everyone !
I need to get the data in a file into a string.
I need to write a script where the file1 info is stored in a string (say variable s). So the output should be
1,2,3,4,5 or (1,2,3,4,5)
If i say
echo $s or print $s
output should be
... (7 Replies)
Discussion started by: i.scientist
I am trying to read a FILE data type into a String data type, I tried to make the FILE* veriable just equal the String veriable but i get:
Conversion from 'FILE*' to 'String' is ambiguous
Has anyone got any idea?
Thanks (4 Replies)
Discussion started by: cb.mark