Sponsored Content
Top Forums Programming awk script for automating the other commercial software command lines Post 302738717 by bala06 on Sunday 2nd of December 2012 12:12:50 PM
Old 12-02-2012
Hi Don

Thanks a lot for your patience, suggestions and help.

The scripts works.

Many Thanks
Balaji
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run awk command having multiple lines

Hi, Can u see the code below. set xyz = `cat testt1.txt | awk '/-----/{\ print $1 }\ ' | tail -1` I need to execute it in c shell . What is wrong with the above command. When i write everything on a single line then it is working. Can anybody help me . (0 Replies)
Discussion started by: nani_g
0 Replies

2. Shell Programming and Scripting

Automating Logform Command in a script

Hi all I am trying to create a script to automate the creating of filesystems. The problem I am having is as follows:- After creating the Log Logical Volume, I want to format it, using the logform command. The Logform command expects user intervention, by typing 'y' and 'enter' to continue.... (2 Replies)
Discussion started by: TheDoc
2 Replies

3. Shell Programming and Scripting

awk/sed Command : Parse parameter file / send the lines to the ksh export command

Sorry for the duplicate thread this one is similar to the one in https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121 Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies

4. Shell Programming and Scripting

Automating 'newgrp' command - how?

Hi, I have to add the 'newgrp' command to my login (.cshrc) script. The problem is that if I add it, it comes to infinite look, since newgrp opens new shell again and again. How to automate the newgrp when I have to login, and avoid that loop? Currently I'm thinking of a condition that... (2 Replies)
Discussion started by: moshmosh
2 Replies

5. Shell Programming and Scripting

awk command in script gives error while same awk command at prompt runs fine: Why?

Hello all, Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val: > cat getnon0file.sh #!/bin/bash this="getnon0file.sh" USAGE=$this" InFile="xyz.38" Min="0.05" # awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies

6. Shell Programming and Scripting

AWK Command to duplicate lines in a file?

Hi, I have a file with date in it like: UserString1 UserString2 UserString3 UserString4 UserString5 I need two entries for each line so it reads like UserString1 UserString1 UserString2 UserString2 etc. Can someone help me with the awk command please? Thanks (4 Replies)
Discussion started by: Grueben
4 Replies

7. Shell Programming and Scripting

Issues with automating SFTP command

Hi All, I am currently looking at automating the steps that I follow to download log files from putty to desktop. I connect to a client's machine through citrix desktop. I am required to download quite a number of application logs to identfiy the issues in production. Steps that is being... (3 Replies)
Discussion started by: krackjack84
3 Replies

8. Shell Programming and Scripting

awk command to find seq lines

I have a below file FILE.cfg JAN_01 VAR1=4 VAR2=SUM VAR3=PRIVATE JAN_10 VAR1=44 VAR2=GUN VAR3=NATUR JAN_20 VAR1=3 VAR2=TQN VAR3=COMMA code: (JAN_10 is argument passed from script) (6 Replies)
Discussion started by: Roozo
6 Replies

9. Windows & DOS: Issues & Discussions

Automating an UNIX Based Software Package on Windows

The company I am with is using Oracle Supply Chain Planing 8.12.1 with JDE 8.12. This is a Unix based system running on Windows Servers using Hummingbird Exceed Version 14 for interactive processing We are currently attempting to automate the Advance Planning Agent flows on a couple of... (2 Replies)
Discussion started by: pfaloney
2 Replies

10. Shell Programming and Scripting

How to put the command to remove duplicate lines in my awk script?

I create a CGI in bash/html. My awk script looks like : echo "<table>" for fn in /var/www/cgi-bin/LPAR_MAP/*; do echo "<td>" echo "<PRE>" awk -F',|;' -v test="$test" ' NR==1 { split(FILENAME ,a,""); } $0 ~ test { if(!header++){ ... (12 Replies)
Discussion started by: Tim2424
12 Replies
DNETD(8)						      System Manager's Manual							  DNETD(8)

NAME
dnetd - DECnet Super-server SYNOPSIS
dnetd [options] Options: [-dvVhs] [-l logtype] [-p dir] DESCRIPTION
dnetd is a daemon that serves incoming connections from remote systems. dnetd reads the file /etc/dnetd.conf to determine which daemons are run in response to which objects. See the man page for dnetd.conf(5) for more information on the format of this file. dnetd can also run scripts or programs on the Linux system that match the TASK name on an object name. eg if the connection from VMS was "TASK=showproc" then the program "showproc" will be run and the output (stdout only) sent back to the calling process. Note that dnetd always converts the task name into lower case. dnetd looks for it's scripts in three locations: a) In the user's home directory (unless the -s switch was specified. b) In the directory pointed to by the environment variable DNTASKDIR (if that variable exists when the daemon is started) c) In /usr/local/decnet/tasks dntaskd should be started at system boot time (after DECnet has been started) and must be run as root. dntaskd reads the decnet.proxy(5) file to authenticate users who do not provide usernames when connecting. OPTIONS
-d Don't fork and run the background. Use this for debugging. -v Verbose. The more of these there are the more verbose dnetd will be. Don't use more than one for normal operation because it will seriously impair performance. -h -? Displays help for using the command. -s Run in "secure" mode. This just prevents users from running scripts in their home directories. (so it's not really that secure!) -p <directory name> Specifies the default directory name to search for programs named in dnetd.conf(5). By default dnetd will look in the directory named by $(prefix)/sbin when it was compiled. This is /usr/local/sbin if you compiled from unmodified sources or /usr/sbin if you installed a binary distribution. -l Set logging options. The following are available: -lm Log to /dev/mono. (only useful if you have my mono monitor driver and a second monitor) -le Log to stderr. Use this for debugging or testing combined with -d. -ls Log to syslog(3). This is the default if no options are given. -V Show the version of dnetd. SEE ALSO
decnet.proxy(5), dnetd.conf(5) DECnet utilities December 5 1999 DNETD(8)
All times are GMT -4. The time now is 12:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy