03-18-2013
thanks drl.. i will go throught this msort... looks interesting :-)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I trying to find the solution for writing the programming in unix by shell programming for sorting thr string in alphabetical order.
I getting diffculty in that ,, so i want to find out the solution for that
Please do needful
Thanks
Bhagyesh (1 Reply)
Discussion started by: bp_vanarse
1 Replies
2. UNIX for Dummies Questions & Answers
Hey all, a relative bash/script newbie trying solve a problem.
I've got a text file with lots of lines that I've been able to clean up and format with awk/sed/cut, but now I'd like to remove the lines with duplicate usernames based on time stamp. Here's what the data looks like
2007-11-03... (3 Replies)
Discussion started by: mattv
3 Replies
3. UNIX for Dummies Questions & Answers
Hello guys,
should be a very easy questn for you:
I need to delete strings in file1 based on the list of strings in file2.
like file2:
word1_word2_
word3_word5_
word3_word4_
word6_word7_
file1:
word1_word2_otherwords..,word3_word5_others... (7 Replies)
Discussion started by: roussine
7 Replies
4. Programming
I have a vector of strings that contain a list of channels like this:
101,99,22HD,432,300HD
I have tried using the sort routine like this:
sort(mychans.begin(),mychans.end());
For some reason my channels are not being sorted at all. I was hoping someone might have some input that might... (2 Replies)
Discussion started by: sepoto
2 Replies
5. Shell Programming and Scripting
Hello,
I have a file with multiple entries.
@SFGF-GA2-1_58:5:36:11009:999#0/1
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
+SFGF-GA2-1_58:5:36:11009:999#0/1
################################################################################... (10 Replies)
Discussion started by: Diya123
10 Replies
6. Shell Programming and Scripting
The question is not as simple as the title... I have a file, it looks like this
<string name="string1">RZ-LED</string>
<string name="string2">2.0</string>
<string name="string2">Version 2.0</string>
<string name="string3">BP</string>
I would like to check for duplicate entries of... (11 Replies)
Discussion started by: raidzero
11 Replies
7. Shell Programming and Scripting
the thing which i require is very very complex.. i tried hard to find the solution but couldnt..
the thing i need to achieve is say i have a file
cat delta.sql
CREATE VIEW Austin
Etc etc
.
.
.
CREATE VIEW Barabara
AS
SELECT blah blah blah
FROM Austin z, Cluster s, Instance i
WHERE... (4 Replies)
Discussion started by: vivek d r
4 Replies
8. Shell Programming and Scripting
Good evening to all!!
I'm facing this problem:
I saved in a txt a list of files name (one txt for every folder):
hello0.jpg
hello1.jpg
hello10.jpg
hello11.jpg
hello12.jpg
hello13.jpg
hello14.jpg
hello15.jpg
hello16.jpg
hello17.jpg
hello18.jpg
hello19.jpg
hello2.jpg
hello20.jpg... (32 Replies)
Discussion started by: silver18
32 Replies
9. Shell Programming and Scripting
Hello,
I have a large database of words and would like them sorted in reverse order i.e. from the end up.
An example will make this clear:
I have tried to write a program in Perl which basically takes the string from the end and tries to sort from that end but it does not seem... (5 Replies)
Discussion started by: gimley
5 Replies
10. Shell Programming and Scripting
Hi I would appreciate your help with this.
I have a output file from a command. It is broken based on initial of the users. Exmaple of iitials MN & SS. Under each section there is information pertaining to the user however each section can have different number of lines. MY challenge is to ... (5 Replies)
Discussion started by: mnassiri
5 Replies
ZNOL(1) General Commands Manual ZNOL(1)
NAME
znol - notify via Zephyr upon login or logout of interesting people
SYNOPSIS
znol [ on|off ] [ -f file ] [ -u username ] [ -l ] [ -q ]
DESCRIPTION
Znol provides a way for you to be notified when "interesting" people log in or out. It uses the Zephyr(1) Notification Service, which
causes a message to appear on your screen for every person specified in a namelist (which defaults to $HOME/.anyone). The namelist should
have one login name per line. Any line starting with `#' is considered a comment and ignored. Anyone in the namelist who is logged in
when znol is executed is printed to stdout. The control arguments are as follows:
on|off Turns notification on or off.
-f The namelist file is taken to be file. If file is "-", then the standard input is used instead of a file. If file does not
exist, an error message is printed, and znol exits. This option may not be used in conjunction with the -u option.
-l Causes znol to just list the people in the namelist who are currently logged in, without subscribing to the login messages.
This option may not be used in conjunction with the -q option.
-q Disables printing who is currently logged in when subscribing. This option may not be used in conjunction with the -l option.
-u Instead of reading a file to specify the "interesting" users, the next argument is used as the only "interesting" user. This
option may not be used in conjunction with the -f option.
EXAMPLES
znol
reads the standard namelist file, prints the locations of any users named therein which can be found on the system, and enters subscrip-
tions for notices about those users.
znol -l -u foo
prints the location (if visible) of the user 'foo'.
FILES
$HOME/.anyone
SEE ALSO
anyone(SIPB), nol(SIPB), zctl(1), zephyr(1), zwgc(1), zhm(8), zephyrd(8)
Project Athena Technical Plan Section E.4.1, `Zephyr Notification Service'
AUTHOR
Robert S. French (MIT-Project Athena)
RESTRICTIONS
Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. All Rights Reserved.
zephyr(1) specifies the terms and conditions for redistribution.
MIT Project Athena July 1, 1988 ZNOL(1)