02-28-2009
Do the log entries have a timestamp?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello
have a file1
H87I
Y788O
T347U
J23U
and
file2 J23U U887Y I99U T556U
file3 I99O J99T F557J
file4 N99I T666U R55Y
file5 H87I T347U
file6 H77U R556Y E44T
file7 Y788O K98U H8I
May be using script we can use file1 to search for all the files
and have the output
H87I file5... (3 Replies)
Discussion started by: cdfd123
3 Replies
2. Shell Programming and Scripting
Hello,
I have a file which has user information. Each user has 2 variables with the same name like
Email: testuser1
Email: testuser1@test.com
Email: testuser2
Email: testuser2@test.com
My intention is to delete the ones without the '@' symbol. When I run this statement awk '/^Email:/&&!/@/'... (6 Replies)
Discussion started by: rmsagar
6 Replies
3. Shell Programming and Scripting
Hi,
can someone help me.
I have some files and search a content in this files. If i have a hit I will print a output:
filename:content
But are more hits in one file: The output is always filename:content
E.G. Seach about "three"
file1 {one, two, three, four, three}
file2... (5 Replies)
Discussion started by: Timmää
5 Replies
4. Shell Programming and Scripting
AT
----------
0
Elapsed: 00:00:00.02
SO
----------
0
Elapsed: 00:00:00.01
SE
----------
0
Elapsed: 00:00:00.01
CR
---------- (4 Replies)
Discussion started by: sandy1028
4 Replies
5. Shell Programming and Scripting
Hi,
Need help in writing a script to read the contents of this file test
Test
00a
00b
00c
00d
00e
00f
where it need to read each line to give a display such as
form meta from dev 00a , config=Striped; add dev 00b:00f to meta 00a
Can any one help me in writing this script (2 Replies)
Discussion started by: praveen1516
2 Replies
6. UNIX for Dummies Questions & Answers
I have a file called po.txt. Here is the content of the file:
<!DOCTYPE PurchaseOrderMessage (View Source for full doctype...)>
- <PurchaseOrder>
- <Header>
<MessageId>cdb3062b-685b-4cd5-9633-013186750e10</MessageId>
<Timestamp>2011-08-01T13:47:23.536-04:00</Timestamp>
</Header>
-... (4 Replies)
Discussion started by: webbi
4 Replies
7. Shell Programming and Scripting
Hi Friends,
This is the only solution to my task. So, any help is highly appreciated.
I have a file
cat input1.bed
chr1 100 200 abc
chr1 120 300 def
chr1 145 226 ghi
chr2 567 600 unix
Now, I have another file by name
input2.bed (This file is a binary file not readable by the... (7 Replies)
Discussion started by: jacobs.smith
7 Replies
8. Shell Programming and Scripting
The file f1 contains the text "body" (shell prompt is "$"):
$ cat ~/path/f1
body
How to print contents of f1 when the f1 path is in a variable?
Here is my failed attempt:
$ f1="~/path/f1"
$ echo $f1
~/path/f1
$ cat $f1
cat: '~/path/f1': No such file or directory (2 Replies)
Discussion started by: wolfv
2 Replies
9. UNIX for Beginners Questions & Answers
Trying to use sed to insert the contents of a file into the end of each line in another file
file1
This is a line
Here is another line
This is yet another line
Here is a fourth line
file2
TEXT
desired output
This is a line TEXT
Here is another line TEXT
This is yet another... (6 Replies)
Discussion started by: jimmyf
6 Replies
10. UNIX for Beginners Questions & Answers
I need to find a file and print its contents
I am trying but it is not working
find -path /opt/app-root/src/.npm/_logs -type f -name "*.log" -print
Version
$ bash -version
GNU bash, version 4.4.12(1)-release (x86_64-pc-msys) (1 Reply)
Discussion started by: SVRao19056
1 Replies
LEARN ABOUT DEBIAN
sconsign
SCONSIGN(1) General Commands Manual SCONSIGN(1)
NAME
sconsign - print SCons .sconsign file information
SYNOPSIS
sconsign [ options... ] file [ ... ]
DESCRIPTION
The sconsign command displays the contents of one or more .sconsign files specified by the user.
By default, sconsign dumps the entire contents of the specified file(s). Each entry is printed in the following format:
file: signature timestamp length
implicit_dependency_1: signature timestamp length
implicit_dependency_2: signature timestamp length
action_signature [action string]
None is printed in place of any missing timestamp, bsig, or csig values for any entry or any of its dependencies. If the entry has no
implicit dependencies, or no build action, the lines are simply omitted.
By default, sconsign assumes that any file arguments that end with a .dbm suffix contains signature entries for more than one directory
(that is, was specified by the SConsignFile () function). Any file argument that does not end in .dbm is assumed to be a traditional
.sconsign file containing the signature entries for a single directory. An explicit format may be specified using the -f or --file=
options.
OPTIONS
Various options control what information is printed and the format:
-a, --act, --action
Prints the build action information for all entries or the specified entries.
-c, --csig
Prints the content signature (csig) information for all entries or the specified entries.
-d DIRECTORY, --dir=DIRECTORY
When the signatures are being read from a .dbm file, or the -f dbm or --format=dbm options are used, prints information about only
the signatures for entries in the specified DIRECTORY.
-e ENTRY, --entry=ENTRY
Prints information about only the specified ENTRY. Multiple -e options may be used, in which case information about each ENTRY is
printed in the order in which the options are specified on the command line.
-f FORMAT, --format=FORMAT
The file(s) to be printed are in the specified FORMAT. Legal values are dbm (the DBM format used when the SConsignFile() function
is used) or sconsign (the default format used for an individual .sconsign file in each directory).
-h, --help
Prints a help message and exits.
-i, --implicit
Prints the list of cached implicit dependencies for all entries or the the specified entries.
--raw Prints a pretty-printed representation of the raw Python dictionary that holds build information about individual entry (both the
entry itself or its implicit dependencies). An entry's build action is still printed in its usual format.
-r, --readable
Prints timestamps in a human-readable string, enclosed in single quotes.
-t, --timestamp
Prints the timestamp information for all entries or the specified entries.
-v, --verbose
Prints labels identifying each field being printed.
ENVIRONMENT
SCONS_LIB_DIR
Specifies the directory that contains the SCons Python module directory (e.g. /home/aroach/scons-src-0.01/src/engine). on the com-
mand line.
SEE ALSO
scons, scons User Manual, scons Design Document, scons source code.
AUTHORS
Steven Knight <knight at baldmt dot com>
September 2011 SCONSIGN(1)