Sponsored Content
Top Forums Shell Programming and Scripting Count of unique lines in field 4 Post 302960174 by mjf on Wednesday 11th of November 2015 05:49:29 PM
Old 11-11-2015
How about including your code so we can review and help you out?
This User Gave Thanks to mjf For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compare Tab Separated Field with AWK to all and print lines of unique fields.

Hi. I have a tab separated file that has a couple nearly identical lines. When doing: sort file | uniq > file.new It passes through the nearly identical lines because, well, they still are unique. a) I want to look only at field x for uniqueness and if the content in field x is the... (1 Reply)
Discussion started by: rocket_dog
1 Replies

2. Shell Programming and Scripting

Unique Field

I have this input file tilenet_test:clar_r5_performance:server_2:4.80762:0%:APM00083103999-009E,APM00083103999-009F tilenet_int:clar_r5_performance:server_2:4.80762:0%:APM00083103999-00C4... (3 Replies)
Discussion started by: greycells
3 Replies

3. UNIX for Dummies Questions & Answers

Print unique lines without sort or unique

I would like to print unique lines without sort or unique. Unfortunately the server I am working on does not have sort or unique. I have not been able to contact the administrator of the server to ask him to add it for several weeks. (7 Replies)
Discussion started by: cokedude
7 Replies

4. Shell Programming and Scripting

awk to count using each unique value

Im looking for an awk script that will take the unique values in column 5, then print and count the unique values in column 6. CA001011500 11111 11111 -9999 201301 AAA CA001012040 11111 11111 -9999 201301 AAA CA001012573 11111 11111 -9999 201301 BBB CA001012710 11111 11111 -9999 201301... (4 Replies)
Discussion started by: ncwxpanther
4 Replies

5. Shell Programming and Scripting

Count occurrence of column one unique value having unique second column value

Hello Team, I need your help on the following: My input file a.txt is as below: 3330690|373846|108471 3330690|373846|108471 0640829|459725|100001 0640829|459725|100001 3330690|373847|108471 Here row 1 and row 2 of column 1 are identical but corresponding column 2 value are... (4 Replies)
Discussion started by: angshuman
4 Replies

6. Shell Programming and Scripting

awk joining multiple lines based on field count

Hi Folks, I have a file with fields as follows which has last field in multiple lines. I would like to combine a line which has three fields with single field line for as shown in expected output. Please help. INPUT hname01 windows appnamec1eda_p1, ... (5 Replies)
Discussion started by: shunya
5 Replies

7. Shell Programming and Scripting

awk to remove lines where field count is greather than 1 in two fields

I am trying to remove all the lines and spaces where the count in $4 or $5 is greater than 1 (more than 1 letter). The file and the output are tab-delimited. Thank you :). file X 5811530 . G C NLGN4X 17 10544696 . GA G MYH3 9 96439004 . C ... (1 Reply)
Discussion started by: cmccabe
1 Replies

8. UNIX for Beginners Questions & Answers

Count unique column

Hello, I am trying to count unique rows in my file based on 4 columns (2-5) and to output its frequency in a sixth column. My file is tab delimited My input file looks like this: Colum1 Colum2 Colum3 Colum4 Coulmn5 1.1 100 100 a b 1.1 100 100 a c 1.2 200 205 a d 1.3 300 301 a y 1.3 300... (6 Replies)
Discussion started by: nans
6 Replies

9. UNIX for Beginners Questions & Answers

Print lines based upon unique values in Nth field

For some reason I am having difficulty performing what should be a fairly easy task. I would like to print lines of a file that have a unique value in the first field. For example, I have a large data-set with the following excerpt: PS003,001 MZMWR/ L-DWD// * PS003,001... (4 Replies)
Discussion started by: jvoot
4 Replies

10. UNIX for Beginners Questions & Answers

Awk: count unique elements in a field and sum their occurence across the entire file

Hi, Sure it's an easy one, but it drives me insane. input ("|" separated): 1|A,B,C,A 2|A,D,D 3|A,B,B I would like to count the occurence of each capital letters in $2 across the entire file, knowing that duplicates in each record count as 1. I am trying to get this output... (5 Replies)
Discussion started by: beca123456
5 Replies
orca(1) 						      General Commands Manual							   orca(1)

NAME
orca - is a scriptable screen reader SYNOPSIS
orca [option...] DESCRIPTION
orca is a screen reader for people with visual impairments, it provides alternative access to the desktop by using speech synthesis and braille. In addition, orca only provides access to applications/toolkits that support the assistive technology service provide interface (AT-SPI), which include GTK, Mozilla, Firefox, Evolution, OpenOffice, StarOffice, Java/Swing, etc. WARNING: suspending orca, e.g. by pressing Control-Z, from an AT-SPI enabled shell (such as gnome-terminal), can also suspend the desktop until Orca is killed. OPTIONS
-t, --text-setup When starting orca, initiate the text-based configuration. -u, --user-prefs-dir=dirname When starting orca, use dirname as an alternate directory for the user preferences. -e, --enable=speech|braille|braille-monitor|main-window When starting orca, force the enabling of the supplied options. -d, --disable=speech|braille|braille-monitor|main-window When starting orca, force the disabling of the supplied options. -l, --list-apps Prints the names of all the currently running applications. This is used primarily for debugging purposes to see if orca can talk to the accessibility infrastructure. Note that if orca is already running, this will not kill the other orca process. It will just list the currently running applications, and you will see orca listed twice: once for the existing orca and once for this instance. --debug Enables debug output for orca and sends all debug output to a file with a name of the form 'debug-YYYY-MM-DD-HH:MM:SS.out' in the current directory. The YYYY-MM-DD-HH:MM:SS portion will be replaced with the current date and time. --debug-file=filename Enables debug output for orca and sends all debug output to the given filename. -v, --version outputs orca version number and exits. -h, --help displays orca help and exits. --replace Replace a currently running orca process. By default, if orca detects an existing orca process for the same session, it will not start a new orca process. This option will kill and cleanup after any existing orca process and then start a new orca in its place. KEYBOARD SETTINGS Orca provides two keyboard modes, Desktop and Laptop keyboard layout. The Orca_Modifier key is Insert in desktop keyboard layout and Caps_Lock in laptop keyboard layout. Orca uses default GNOME keyboard shortcuts to navigate the desktop and interact with various applications. The flat review commands provide an alternative method of interaction in certain inaccessible applications. It should not be confused with flat review func- tionality provided by other screen readers. Desktop Mode Flat review commands Numpad-7 move the flat review cursor to the previous line and read it. Numpad-8 read the current line. Numpad-9 move the flat review cursor to the next line and read it. Numpad-4 move the flat review cursor to the previous word and read it. Numpad-5 read the current word. Numpad-6 move the flat review cursor to the next word and read it. Numpad-1 move the flat review cursor to the previous character and read it. Numpad-2 read the current character. Numpad-3 move the flat review cursor to the next character and read it. Numpad-slash perform a left mouse click at the location of the flat review cursor. Numpad-star perform a right mouse click at the location of the flat review cursor. Bookmark commands Alt+Insert+[1-6] assign a bookmark to a numbered slot. If a bookmark already exists in the slot it will be replaced with the new one. Insert+[1-6] go to the position pointed to by the bookmark bound to this numbered slot. Alt+Shift+[1-6] 'Where am I' information for this bookmark relative to the current pointer location. Insert+B and Insert+Shift+B move between the given bookmarks for the given application or page. Alt+Insert+B save the defined bookmarks for the current application or page. Miscellaneous functions Numpad+Plus 'say all' command; reads from the current position of the caret to the end of the document. Numpad+Enter 'Where am I' command; speaks information such as the title of the current application window, as well as the name of the control that cur- rently has focus. Insert+H enter into orca's 'learn mode'; press Escape to exit. Insert+Shift+Backslash toggle live regions monitoring on and off. Insert+F speak font and attribute information for the current character. Insert+Space Launch the orca Configuration dialog. Insert+Ctrl+Space reload user settings and reinitialize services as necessary. Also launches the orca Configuration dialog for the current application. Insert+S toggle speech on and off. Insert+F11 toggle the reading of tables, either by single cell or whole row. Insert+Q quit orca. Debugging Ctrl+Alt+Insert+Home report information on the currently active script. Ctrl+Alt+Insert+End print a debug listing of all known applications to the console where orca is running. Ctrl+Alt+Insert+Page_Up print debug information about the ancestry of the object with focus. Ctrl+Alt+Insert+Page_Down print debug information about the hierarchy of the application with focus. Laptop Mode Flat review commands Caps_Lock+U move the flat review cursor to the previous line and read it. Double-click to move flat review to the top of the current win- dow. Caps_Lock+I read the current line. Double-click to read the current line along with formatting and capitalization details. Caps_Lock+O move the flat review cursor to the next line and read it. Double- click to move flat review to the bottom of the current win- dow. Caps_Lock+J move the flat review cursor to the previous word and read it. Double-click to move flat review to the word above the current word. Caps_Lock+K read the current word. Double-click to spell the word. Triple-click to hear the word spelled phonetically. Caps_Lock+L move the flat review cursor to the next word and read it. Double- click to move flat review to the word below the current word. Caps_Lock+M move the flat review cursor to the previous character and read it. Double-click to move flat review to the end of the current line. Caps_Lock+Comma read the current character. Double-click to pronounce the character phonetically if it is a letter. Caps_Lock+Period move the flat review cursor to the next character and read it. Caps_Lock+7 perform a left mouse click at the location of the flat review cursor. Caps_Lock+8 perform a right mouse click at the location of the flat review cursor. Caps_Lock+8 perform a right mouse click at the location of the flat review cursor. Bookmark commands Alt+Caps_Lock+[1-6] add a bookmark to the numbered slot. If a bookmark already exists for the slot it will be replaced with the new one. Caps_Lock+[1-6] go to the position pointed to by the bookmark bound to this numbered slot. Alt+Shift+[1-6] 'Where am I' information for this bookmark relative to the current pointer location. Caps_Lock+Band Caps_Lock+Shift+B move between the given bookmarks for the given application or page. Alt+Caps_Lock+B save the defined bookmarks for the current application or page. Miscellaneous functions Caps_Lock+Semicolon 'Say all' command; reads from the current position of the caret to the end of the document. Caps_Lock+Enter 'Where am I' command; speaks information such as the title of the current application window, as well as the name of the control that cur- rently has focus. Caps_Lock+H enter learn mode (press Escape to exit). Caps_Lock+Shift+Backslash toggle live regions monitoring on and off. Caps_Lock+F speak font and attribute information for the current character. Caps_Lock+Space launch the orca Configuration dialog. Caps_Lock+Ctrl+Space reload user settings and reinitialize services as necessary; also launches the orca Configuration dialog for the cur- rent application. Caps_Lock+S toggle speech on and off. Caps_Lock+F11 toggle the reading of tables, either by single cell or whole row. Caps_Lock+Q quit orca. Debugging Caps_Lock+Alt+Ctrl+Home report information on the currently active script. Caps_Lock+Alt+Ctrl+End prints a debug listing of all known applications to the console where orca is running. Caps_Lock+Alt+Ctrl+Page_Up prints debug information about the ancestry of the object with focus. Caps_Lock+Alt+Ctrl+Page_Down prints debug information about the object hierarchy of the application with focus. FILES
~/.orca Orca user preferences directory ~/.orca/user-settings.py Orca user preferences configuration file. ~/.orca/orca-customizations.py Orca user customizations configuration file ~/.orca/orca-scripts Orca user orca scripts directory ~/.orca/bookmarks Orca user bookmarks directory ~/.orca/app-settings Orca user application specific settings directory AUTHOR
Orca originated as a community effort led by the Sun Microsystems Inc. Accessibility Program Office and with contributions from many com- munity members. SEE ALSO
For more information please visit orca wiki at <http://live.gnome.org/Orca> <http://live.gnome.org/Orca> The orca mailing list <http://mail.gnome.org/mailman/listinfo/orca-list> To post a message to all orca list, send a email to orca- list@gnome.org GNOME
12 May 2012 orca(1)
All times are GMT -4. The time now is 01:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy