10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am currently having some problems with my script not sorting my files lexiographically.
The error seem to be localized here where i sort the utt2spk file, which is done like this..
for x in test train; do
for f in text utt2spk; do
sort data/$x/$f -o... (7 Replies)
Discussion started by: kidi
7 Replies
2. UNIX for Dummies Questions & Answers
URGENT HELP IS NEEDED!!
I am looking to move matching lines (01 - 07) from File1 and 77 tab the matching string from File2, to File3.txt. I am almost done but
- Currently, script is not printing lines to File3.txt in order.
- Also the matching lines are not moving out of File1.txt
... (1 Reply)
Discussion started by: High-T
1 Replies
3. Shell Programming and Scripting
Hello
I greped some lines from an xml file and generated a new file.
but some entries are missing my table is unsorted.
e.g.
NAME="Adel" ADDRESS="Donaustr." NUMBER="2" POSTCODE="33333"
NAME="Adel" ADDRESS="Donaustr." NUMBER="2" POSTCODE="33333"
NAME="Adel" NUMBER="2" POSTCODE="33333"... (5 Replies)
Discussion started by: witchblade
5 Replies
4. Shell Programming and Scripting
Pseudo name=hdiskpower54
Symmetrix ID=000190101757
Logical device ID=0601
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW... (7 Replies)
Discussion started by: Daniel Gate
7 Replies
5. Shell Programming and Scripting
Hi guys,
I am trying to sort numbers in the string in descending order but for some reason sort fails.
n129$ echo "81 240" | sort -r
81 240
n129$
I am not sure what am I doing wrong. Is there a 100% reliable way to make sure that sort will always work. I mean on SUNS and IBM machines. ... (4 Replies)
Discussion started by: aoussenko
4 Replies
6. UNIX for Dummies Questions & Answers
Hello,everyone. I am learning some Info commands.I put all commands and their explanations in a file.
This is a part of it:
ESC PgUp (scroll-other-window-backward)Scroll the other window backward
ESC Right (forward-word) Move forward a word
ESC r (move-to-window-line)
ESC TAB... (3 Replies)
Discussion started by: vic005
3 Replies
7. Shell Programming and Scripting
Hi,
My data looks like this.
CHR SNP BP A1 TEST NMISS OR STAT P
0 SNP_A-8282315 0 2 ADD 1530 1.074 0.7707 0.4409
0 SNP_A-8282315 0 2... (11 Replies)
Discussion started by: genehunter
11 Replies
8. Shell Programming and Scripting
I need to sort input file as below to display as below:
input.txt
User: my_id
File: oracle/scripts/ssc/ssc_db_info
User: your_id
File: pkg_files/BWSwsrms/request
User: your_id
File: pkg_files/BWSwsco/checkConfig.sh
OUTPUT:
User: my_id
File: ... (3 Replies)
Discussion started by: tqlam
3 Replies
9. Shell Programming and Scripting
Dear all
There is a file which contains the following formatted files. I need to sort it by substring(strings after dot) in order to process efficiently.
Please give me any idea how to sort it.
Sample file:
1AAABBBCCC.20080401
1AAABBBCCC.20080402
2AAABBBCCC.20080401... (3 Replies)
Discussion started by: mr_bold
3 Replies
10. Shell Programming and Scripting
Hi
Just wondering whether or not I can remove duplicated lines without sort
For example, I use the command who, which shows users who are logging on. In some cases, it shows duplicated lines of users who are logging on more than one terminal.
Normally, I would do
who | cut -d" " -f1 |... (6 Replies)
Discussion started by: lalelle
6 Replies