My question is, "Do I not understand, or is my information out of date?"
I am trying to just be a student, rtfm'ing. I am working on my work systems. Is it simply that the book was printed in 2002 and a lot has changed since then, or did I miss something?
Working in Korn Shell.
I have been reading O'Reilly "Learning the Korn Shell." (Which deals with ksh93)
We have Version M-11/16/88f, not 93.
I was reading about quoting, and the book cited an example using the 'find' command. It states that I need to quote wildcards used in the find command. It also says I need to use "-print" to see the results.
I use the find command a lot. I have neither been quoting/escaping, nor using -print, but I get what I am looking for:
I am not being deliberately thick. I am inclined to assume, "old book, old shell, it works how it works, move on..."
But, I have hamstrung myself in the past by carrying around half-misunderstood concepts. Quoting and regex are things that are fuzzy to me, and I want to get them straight.
Last edited by Scott; 08-16-2013 at 11:56 AM..
Reason: Please use code tags
I have input file like
RDBMS FALIURE UTY8703 'USER_WORK.TEST' .HIghest return code '12'
I want to parse data which comed between first quote till next quote
USER_WORK.TEST
can you please suggest how to do that (4 Replies)
hey all,
i made a simple .sh like this:
echo "<style media="screen" type="text/css">@import url("main.css");</style>"
but the output is:
<style media=screen type=text/css>@import url(main.css);</style>
i want to keep double-quotes, can anyone help me?
thanks (3 Replies)
The command line bellow works fine by itself.
/opt/csw/bin/rsync -azq --delete -e "ssh -i /.ssh/ss" /home/ me@myaccount.storage.com:/home/
Now I would like to introduce some variable into it and make a .sh file such as bellow and it does not work anymore. I guess the part -e "ssh -i /.ssh/ss" has... (4 Replies)
Hi,
I've been trying to write a regex to use in egrep (in a shell script) that'll fetch the names of all the files that match a particular pattern. I expect to match the following line in a file:
Name = "abc"
The regex I'm using to match the same is:
egrep -l '(^) *= *" ** *"$' /PATH_TO_SEARCH... (6 Replies)
i want to replace mistaken quotes in line starting with tag 300 and relocate the quote in the correct position so the input is
223;25
224;20100428064823;1;0;0;0;0;0;0;0;8;1;3;9697;18744;;;;;;;;;;;;
300;X;Event:... (3 Replies)
Can somebody supply me with a simple way to get a value between
two double quotes?
Example:
input = ADR base is "/u01/app/oracle"
output = /u01/app/oracle
Thanks to all who answer (4 Replies)
Hi All ,
We have source data file as csv file and since data could contain commas ,each attribute is quoted into double quotes.However problem is that some of the attributa data also contain double quotes which is converted to double double quote while creating csv file
XLs data :
... (2 Replies)
From:
1,2,3,4,5,This is a test
6,7,8,9,0,"This, is a test"
1,9,2,8,3,"This is a ""test"""
4,7,3,1,8,""""
To:
1,2,3,4,5,This is a test
6,7,8,9,0,"This; is a test"
1,9,2,8,3,"This is a ''test''"
4,7,3,1,8,"''"Is there an easy syntax I'm overlooking? There will always be an odd number... (5 Replies)
Food for thought!
"""
Everybody in this country should learn to program a computer...because it teaches you how to think.
"""
Steve Jobs.
So, SO, true!
Merry XMAS all... (4 Replies)
Discussion started by: wisecracker
4 Replies
LEARN ABOUT OSF1
binlog.conf
binlog.conf(4) Kernel Interfaces Manual binlog.conf(4)NAME
binlog.conf - binlogd configuration file
SYNOPSIS
event_code.priority destination Where: Are the numeric codes specified in binlog.h and the binlogd(8) reference page. An aster-
isk (*) specifies that all events should be selected. The code dumpfile Specifies the recovery of the kernel binary event log buffer from a
crash dump. A severity level cannot be specified. Filters selected events as severe, high, and low. An asterisk (*) specifies that all
events should be selected. A local file pathname to a log file, or a remote system hostname for remote logging of events.
DESCRIPTION
The /etc/binlog.conf file is a system file that enables you to configure or filter events that are to be logged by the binary error logger,
binlogd.
The binlogd daemon ignores blank lines and lines that begin with an octothorpe (#). You can specify # as the first character in a line to
include comments in the file or to disable an entry.
If you want the binlogd daemon to use a configuration file other than the default, specify the file name with the following command: # bin-
logd -f config_file Note that EVM subscribes to binlog events by default, and any configuration options you select will affect what events
are available to EVM. You can filter and select binlog events using EVM utilities, as described in the EVM(5) reference page.
EXAMPLES
The following is a sample /etc/binlog.conf file: # # binlogd configuration file # #format of a line: event_code.priority destination
# # where: event_code - see codes in binlog.h and man page, # * = all events # priority - severe, high, low, * = all priorities #
destination - local file pathname or remote system # hostname
*.* /usr/adm/binary.errlog dumpfile /usr/adm/crash/binlogdumpfile crdlog /usr/adm/binary.crdlog 102.high
/usr/adm/disk.errlog
FILES
/etc/binlog.conf
/etc/binlog.auth - Authorization file for remote logging.
/usr/sys/include/dec/binlog/binlog.h - Common components of a binary event log record.
RELATED INFORMATION
Commands: /usr/sbin/binlogd(8), EVM(5)
System Administration delim off
binlog.conf(4)