Sponsored Content
Homework and Emergencies Homework & Coursework Questions Need help how to search for shortest line from a file Post 302926217 by scopiop on Friday 21st of November 2014 09:13:20 PM
Old 11-21-2014
Thanks, I remove the IFS and it solved all my problem. I did not need to use FIELD SEPARATOR in this case of reading.... Thank you much.

scopiop
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Search for a whole line in a file

Hi All, Please can anyone advise how can I search a whole line in a file. Best Regards, Shazin (1 Reply)
Discussion started by: Shazin
1 Replies

2. Shell Programming and Scripting

perl search and replace - search in first line and replance in 2nd line

Dear All, i want to search particular string and want to replance next line value. following is the test file. search string is tmp,??? ,10:1 "???" may contain any 3 character it should remain the same and next line replace with ,10:50 tmp,123 --- if match tmp,??? then... (3 Replies)
Discussion started by: arvindng
3 Replies

3. Shell Programming and Scripting

Optimised way for search & replace a value on one line in a very huge file (File Size is 24 GB).

Hi Experts, I had to edit (a particular value) in header line of a very huge file so for that i wanted to search & replace a particular value on a file which was of 24 GB in Size. I managed to do it but it took long time to complete. Can anyone please tell me how can we do it in a optimised... (7 Replies)
Discussion started by: manishkomar007
7 Replies

4. Shell Programming and Scripting

search a string in a particular column of file and return the line number of the line

Hi All, Can you please guide me to search a string in a particular column of file and return the line number of the line where it was found using awk. As an example : abc.txt 7000,john,2,1,0,1,6 7001,elen,2,2,0,1,7 7002,sami,2,3,0,1,6 7003,mike,1,4,0,2,1 8001,nike,1,5,0,1,8... (3 Replies)
Discussion started by: arunshankar.c
3 Replies

5. Shell Programming and Scripting

PERL or SHELL Scrript to search in Directories by taking line by line from a text file

Unix box server version *********** >uname -r B.11.00 >echo $SHELL /usr/bin/ksh --> in this server, I have the path like /IMbuild/dev/im0serv1 ---> in that directory I have the folders startup(.jsp files nearly 100 jsp's ) and scripts(contains .js files nearly 100 files) ... (9 Replies)
Discussion started by: pasam
9 Replies

6. Shell Programming and Scripting

how to find the shortest line which containing a key string?

hi all, suppose a key string: M0271857 and to find all lines containing this key string in a text file which returns multiple lines but i only want the shortest one is there a way to do that? thanks so much! (4 Replies)
Discussion started by: sunnydanniel
4 Replies

7. Shell Programming and Scripting

How to select the shortest path in grep search?

Hi, How can I display only one shortest path (A/B/configure)? $ grep configure file.txt A/B/configure A/B/C/configure A/B/C/D/configure Thank you. (9 Replies)
Discussion started by: hce
9 Replies

8. Shell Programming and Scripting

Search string within a file and list common words from the line having the search string

Hi, Need your help for this scripting issue I have. I am not really good at this, so seeking your help. I have a file looking similar to this: Hello, i am human and name=ABCD. How are you? Hello, i am human and name=PQRS. I am good. Hello, i am human and name=ABCD. Good bye. Hello, i... (12 Replies)
Discussion started by: royzlife
12 Replies

9. Shell Programming and Scripting

Shortest path for each query from a csv file

Hi all, I have this file __DATA__ child, Parent, probability, M7, Q, P, M7, M28, E, M28, M6, E, M6, Q, Pl, & several hundred lines..... Legends: P(= Probable) > Pl(=Plausible) > E(=Equivocal). What I want is for each child I want to trace it... (5 Replies)
Discussion started by: rushadrena
5 Replies

10. Shell Programming and Scripting

Search words in multiple file line by line

Hi All I have to search servers name say like 1000+ "unique names" line by line in child.txt files in another file that is a master file where all server present say "master.txt",if child.txt's server name matches with master files then it print yes else no with server name. (4 Replies)
Discussion started by: netdbaind
4 Replies
uligo(6)							   Games Manual 							  uligo(6)

NAME
uligo - tsumego (go problems) practice tool SYNOPSIS
uligo DESCRIPTION
To get stronger at go, it is essential to develop one's reading ability. That is why professionals recommend to study life and death or tesuji problems. uliGo is a program that allows you to do that: basically, the computer displays a problem, and asks for the answer. You enter the first move, the computer responds, and so on until you reach the final solution or enter a wrong move. USAGE
The basic operation of uliGo is simple. Click the right arrow to view a problem, and then click where you think the right answer is. The Documentation item in the Help menu contains the full documentation for uliGo, such as configuring the timer or the order the tsumego are displayed in. By default, problems are presented in random order, with the colors and orientation of the problem randomly chosen. FILES
~/.uligo This directory stores information about how many problems you've solved, and SGF files you've downloaded yourself. AUTHOR
Ulrich Goertz <uligo@g0ertz.de> is the author of uliGo. Joe Wreschnig <piman@debian.org> wrote this manual page for the Debian operating system, but it may be used by others. SEE ALSO
The uliGo website at http://www.u-go.net/uligo/ contains more (unclearly licensed) problems sets that cannot be included with the Debian package. April 25th, 2003 uligo(6)
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy