Here is the script. I am not able to increment and Print echo "2=" ${arr}
(Bold line)
Can someone please help me correct it? I am thinking there is some escape sequence error. Just started learning scripts ...
Thanks
#!/bin/ksh
set -A arr a1 a2 a3 a4
# START
Server1=gmi
... (6 Replies)
I am new to awk, can somone please correct the following script
awk -F "," 'BEGIN {
foreach ((getline < "file1.csv") > 0)
{i++
a=1 --> assuming the first column in the row will be stored in a
foreach (a in f1) {
if (a == $5) continue
print a;
}
}
} file2.csv'
Here is what I... (11 Replies)
Please correct my script if it any exceptional, since im calling other external script with in my script.
#!/bin/bash
FE1=TMM
DT1=/home/myHome/dated_1
REPORT=/home/otherHome/Report.sh
## Run the report for FE1 & DT1
cd /home/myHome
SERV_LST=/home/myHome/srvc-lst
echo "Welcome to... (5 Replies)
#!/bin/ksh
db_user=$DB_USER_NAME
db_pwd=$DB_PASSWORD
db_sid=$TWO_TASK
if ; then
echo "\tUsage: MoveUsageProcessing <BC Log file Name>"
exit 1
else
BCLogFileName=$1
fi
grep -i 'MoveUsage daemon needs to run on this account before it can be billed' $1 |awk -F\| '{for(i=0;++i<=NF;) if($i ~... (1 Reply)
ret=`sqlplus -s /nolog << EOF
connect $db_user/$db_pwd@$db_sid;
SPOOL ./$DirectoryName/TableData.txt;
set pagesize 0 feedback off verify off heading off echo off linesize 150
while read var_ack_party_name
do
select * from bus_event where ack_party_name like... (13 Replies)
Hi,
I am trying to capture logs of the script in the file as well as on the screen. I have used exec and tee command for this. While using exec command I am getting the correct output in the file but, script output is not getting displayed on the screen as it get executed.
Below is my sample... (14 Replies)
Discussion started by: Prathmesh
14 Replies
LEARN ABOUT NETBSD
bootparams
BOOTPARAMS(5) BSD File Formats Manual BOOTPARAMS(5)NAME
bootparams -- boot parameter database
SYNOPSIS
/etc/bootparams
DESCRIPTION
The bootparams file specifies the boot parameters that diskless(8) clients may request when booting over the network. Each client supported
by this server must have an entry in the bootparams file containing the servers and pathnames for its root, area. It may optionally contain
swap, dump, and other entry types.
Each line in the file (other than comment lines that begin with a #) specifies the client name followed by the pathnames that the client may
request by their logical names. Names are matched in a case-insensitive fashion, and may also be wildcarded using shell-style globbing char-
acters.
The components of the line are delimited with blank or tab, and may be continued onto multiple lines with a backslash.
For example:
dummy root=server:/export/dummy/root
swap=server:/export/dummy/swap
dump=server:/export/dummy/swap
gateway=router:255.255.255.0
When the client named "dummy" requests the pathname for its logical "root" it will be given server ``server'' and pathname
``/export/dummy/root'' as the response to its RPC request.
netra[1-5]www* root=server:/export/jumpstart/netra_www
When any client with a name matching the pattern "netra[1-5]www*" requests the pathname for its logical "root" it will be given server
``server'' and pathname ``/export/jumpstart/netra_www'' as the response to its RPC request. As this example implies, this is useful for set-
ting up Jumpstart servers for Sun clients.
NOTES
The server does not default to the localhost, and must be filled in.
FILES
/etc/bootparams default configuration file
SEE ALSO diskless(8), rpc.bootparamd(8)BSD February 28, 2002 BSD