10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to parse a txt file like below.
starts from the first occurence of
till the last occurence of
in other saying name of the part(header) is SASN2010Aber.CallEventRecord.egsnPDPRecord and the content of the header is in two... (3 Replies)
Discussion started by: snr_silencer
2. UNIX for Dummies Questions & Answers
Is there a way to export every line into new txt file where by the title of each txt output are same as the line ?
I have this txt files containing names:
Mitch Lobel... (2 Replies)
Discussion started by: Nexeu
3. Shell Programming and Scripting
Below are the sample data for txt files.
txt file 1
13420000|67... (5 Replies)
Discussion started by: Ankita Talukdar
4. Shell Programming and Scripting
Sorry for the basic question but I have a lot of files that I want to separate into groups based on filenames which I can then cat together. Eg I have:
77_1_SLA8.txt... (1 Reply)
Discussion started by: Breentax
5. Shell Programming and Scripting
I need to parse text, xml files to get the statistic numbers and prepare summary csv file.
What is the best way to parse these file and prepare csv file.
Any idea you have , please?
Regards, (2 Replies)
Discussion started by: LinuxLearner
6. Shell Programming and Scripting
i am a newbie in shell programming. and i want to simply go through a text file that contains 3 "columns", split by ';'
customerID ; link-to-contract ; save-as-filename
so an example would simply look like this
now i want to loop through every line, and save the file from... (3 Replies)
Discussion started by: Confidence
I have a script that mails me when certain event are logged in /var/adm/messages. When the mail reaches me there are no line breaks (its just one really long line) so I tried piping the output of the script to a text file which I run `unix2dos` on then mail myself that, but that didn't work.
... (2 Replies)
Discussion started by: s1ckle
8. UNIX for Dummies Questions & Answers
Hello - I have a folder that contains files from 2003 till 2010. I am trying to figure out a command that would seperate each years file and show me a count?
Even if i can find a command that would give me year by year count, thats good enough too.
Thanks (8 Replies)
Discussion started by: DallasT
9. Shell Programming and Scripting
I would need some help to introduce 'break' lines into the following
data by using awk:
RECORD 1000 aaa xxxxxx
RECORD 1001 aaa xxxxxx
RECORD 1002 bbb xxxxxx
RECORD 1003 bbb xxxxxx
RECORD 1004 bbb xxxxxx
RECORD 1005 ccc xxxxxx
RECORD 1006 ccc xxxxxx
RECORD 1007... (5 Replies)
Discussion started by: yomaya
In a directory i have both *.TXT and *.txt files. I have a script-
for file in `ls *.txt`; do
mv $file /tmp/$file
How to list both *.txt and*.TXT file in one command so that script will move both .txt or .TXT whatever it find.
br//purple (4 Replies)
Discussion started by: thepurple