i have to search direcotry with a Min or Max size and but with a standard find.... it gives me the size of the i-node of the directory.
A friend told me to use awk/sed command to search directories.
he also gave me this command:
find -type d -exec du '{}' \; | awk -v sz=10 '{if... (0 Replies)
Hi I have a pattern like this. repeating many lines
CHANGE #13 TYP:22 CLS: 21 AFN:12 DBA:0x0040a15f OBJ:41142 SCN:0x0000.00036b3e SEQ:1 OP:11.2
CHANGE #15 TYP:32 CLS: 32 AFN:212 DBA:0x0040a15f OBJ:41143 SCN:0x0000.00046b3e SEQ:1 OP:13.3
.
And i am trying to do the following:
a) I need to get... (2 Replies)
hello,
I have this in a file
server_name=DB1
hostname=db1
I want to change hostname value to `hostname`. Any idea?
and server_name value to toUPPER (`hostname`). Any idea?
thanks (3 Replies)
I have a text file with about 790 lines, at the end of many of the lines there is the text string 'f4' I want this text to be 'f2' What is the best way to do this? is it sed or awk? or something else? how? Also, there is maybe fifty occasions where f4 appears near the begining of the line that I... (2 Replies)
Hi,
I have to write a script that goes through every *.cpp file in the current directory and if any file has #includes of non-system header files (those with double quotes around them), then I need to print out those header files within the quotes. I've figured out how to run a for loop and find... (4 Replies)
hi there!
i have a question that i hope someone may be able to help me with.
i am using the 'paste' function to concatenate to files together.
$ paste A B
output:
A B
C D
However I want to get rid of the space in between - I have tried the following with no luck:
#... (2 Replies)
I have a string that I need to remove data that is not within <>. For example:
this is a <test> of removing <text> outside brackets
output should be:
<test> <text>
or:
test text
I can use either of the two outputs but so far I have not had much luck removing all of the other text. The... (15 Replies)
Hi all,
I'm pretty new to Unix (Sun) scripting, and wanted to try doing what many would probably believe is pretty easy. I tried searching the forums and only found bits and pieces of things I wanted to do below, but after many tries had a very hard time piecing it together.
Would anyone... (1 Reply)
Unix Guru's ,
I have a file all_files.txt containing data as follows
all_files.txt
first file : /a/b/c/file.sh first second CLIENT1
second file : /a/b/c/file.sh first second CLIENT1
first file : /a/b/c/file.sh first second CLIENT2
second file : /a/b/c/file.sh first second... (6 Replies)
Discussion started by: jville
6 Replies
LEARN ABOUT DEBIAN
data::ical::entry::timezone::standard
Data::ICal::Entry::TimeZone::Standard(3pm) User Contributed Perl Documentation Data::ICal::Entry::TimeZone::Standard(3pm)NAME
Data::ICal::Entry::TimeZone::Standard - Represents a Standard Time base offset from UTC for parent TimeZone
DESCRIPTION
A time zone is unambiguously defined by the set of time measurement rules determined by the governing body for a given geographic area.
These rules describe at a minimum the base offset from UTC for the time zone, often referred to as the Standard Time offset. Many locations
adjust their Standard Time forward or backward by one hour, in order to accommodate seasonal changes in number of daylight hours, often
referred to as Daylight Saving Time. Some locations adjust their time by a fraction of an hour. Standard Time is also known as Winter Time.
Daylight Saving Time is also known as Advanced Time, Summer Time, or Legal Time in certain countries. The following table shows the changes
in time zone rules in effect for New York City starting from 1967. Each line represents a description or rule for a particular observance.
Effective Observance Rule
Date (Date/Time) Offset Abbreviation
1967-* last Sun in Oct, 02:00 -0500 EST
1967-1973 last Sun in Apr, 02:00 -0400 EDT
1974-1974 Jan 6, 02:00 -0400 EDT
1975-1975 Feb 23, 02:00 -0400 EDT
1976-1986 last Sun in Apr, 02:00 -0400 EDT
1987-* first Sun in Apr, 02:00 -0400 EDT
Note: The specification of a global time zone registry is not addressed by this document and is left for future study. However,
implementers may find the Olson time zone database [TZ] a useful reference. It is an informal, public-domain collection of time zone
information, which is currently being maintained by volunteer Internet participants, and is used in several operating systems. This
database contains current and historical time zone information for a wide variety of locations around the globe; it provides a time zone
identifier for every unique time zone rule set in actual use since 1970, with historical data going back to the introduction of standard
time.
METHODS
ical_entry_type
Returns "STANDARD", its iCalendar entry name.
mandatory_unique_properties
According to the iCalendar standard, the following properties must be specified exactly one time in a standard time declaration:
dtstart tzoffsetto tzoffsetfrom
optional_repeatable_properties
According to the iCalendar standard, the following properties may be specified any number of times for a standard time declaration:
comment rdate rrule tzname
AUTHOR
Jesse Vincent "<jesse@bestpractical.com>" with David Glasser, Simon Wistow, Alex Vandiver
LICENCE AND COPYRIGHT
Copyright (c) 2005 - 2009, Best Practical Solutions, LLC. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
perl v5.14.2 2009-07-16 Data::ICal::Entry::TimeZone::Standard(3pm)