Ok. So you will not use the list of dates that you got from awk?
If you pass the results thru grep it will give you 3. Which is a count of yesterdays dates?
So taking what you have done. (skipping the sort)
(As you wait for the experts) :-)
Hi,
I trying to sort information in a file by making count for every object. For example:
A
B
A
D
A
B
C
i would like to sort out count for each object (A's, B's and etc) but in actual case i dont know the object but i know the position ofthe object. do i need to use array as well? Any... (2 Replies)
Hi Folks,
I need help in script idea, i have 5 users and there home directories are
/home/user1
/home/user2
/home/user3
/home/user4
/home/user5
/home/user5
In each user there is a file xyz.txt and abcd.txt.
I have two objectives.
1. sort those user have xyz.txt and abcd.txt not... (2 Replies)
Hello World ~
HW : SUN Fire V240
OS : Solaris 8
Error message prompts 'rmclomv ... SC login failure ...' on terminal.
and
Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S)
The System is in normal operation, though
In case of rain, Can... (1 Reply)
Hi Unix gurus,
I have a requirement where I need to find the file count based on unique file names.
OPEN_INV_MMDDYYYY_HHMM.xls
OPEN_INV_MMDDYYYY_HHMM.xls
OPEN_INV_MMDDYYYY_HHMM.xls
CLOSE_INV_MMDDYYYY_HHMM.xls
CLOSE_INV_MMDDYYYY_HHMM.xls
OPEN_INV_MMDDYYYY_HHMM.txt... (2 Replies)
What's actually the difference between these two command:
1) chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s username
2) chuser unsuccessful_login_count=0 username
Are there any impact on executing either one of those command to clear/reset the failed login count in AIX?... (2 Replies)
Hi,
Can someone tell me the command to do this in solaris 5.10 please? I've trawled around the internet for ages but all I can find is the AIX command...
Thanks (2 Replies)
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs.
I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Hello,
I try to sort results of occurences in an array by using awk but I can't find the right command. that's why I'm asking your help ! :)
Please see below the command that I run:
awk '{ for ( i=1; i<=length; i++ ) arr++ }END{ for ( i in arr ) { print i, arr } }' dictionnary.txt
... (3 Replies)
Discussion started by: destin45
3 Replies
LEARN ABOUT CENTOS
grep-changelog
grep-changelog(1) General Commands Manual grep-changelog(1)NAME
grep-changelog - print ChangeLog entries matching criteria
SYNOPSIS
grep-changelog [options] [CHANGELOG...]
DESCRIPTION
grep-changelog searches the named CHANGELOGs (by default files matching the regular expressions ChangeLog and ChangeLog.[0-9]+) for
entries matching the specified criteria. At least one option or file must be specified. This program is distributed with GNU Emacs.
OPTIONS
The program accepts unambiguous abbreviations for option names.
--author=AUTHOR
Print entries whose author matches regular expression AUTHOR.
--text=TEXT
Print entries whose text matches regular expression TEXT.
--exclude=TEXT
Exclude entries matching regular expression TEXT.
--from-date=YYYY-MM-DD
Only consider entries made on or after the given date. ChangeLog date entries not in the "YYYY-MM-DD" format are never matched.
--to-date=YYYY-MM-DD
Only consider entries made on or before the given date.
--rcs-log
Print output in a format suitable for RCS log entries. This format removes author lines, leading spaces, and file names.
--with-date
In RCS log format, print short dates.
--reverse
Show matches in reverse order.
--version
Display version information.
--help Display basic usage information.
COPYING
Copyright (C) 2008-2013 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that
the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this document into another language, under the above conditions for modified
versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.
grep-changelog(1)