Sponsored Content
Top Forums Shell Programming and Scripting if inside while statement (PLZ HELP) Post 302428574 by dazdseg on Thursday 10th of June 2010 09:27:49 AM
Old 06-10-2010
i like the award .. congrats dr.house

do we have useless use of syg commands award??
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Exit statement ignored inside KSH function

Hi All, I have multiple functions in my script and I'm trying to capture stdout from some of them, but I also do some error checking in them (in the functions that output something to their stdout that needs capturing) and I need to be able to end the entire script with an error message. ... (2 Replies)
Discussion started by: gkubok
2 Replies

2. Shell Programming and Scripting

multiple lines inside a case statement

echo "please enter ur choice.. 1. Make a file. 2. Display contents 3. Copy the file 4. Rename the file 5. Delete the file 6. Exit" read choice case $choice in 1 ) echo enter the file name read fname if then echo... (2 Replies)
Discussion started by: gotam
2 Replies

3. Shell Programming and Scripting

Read from user inside a while statement

Hi there I want to ask to a user something about each line of a file. This is my code: #cat test.txt first line second line third line #cat test.sh #!/bin/ksh read_write () { echo "Do you want to print the line (YES/NO)?\n" read TEST case ${TEST} in YES) return 0;; ... (3 Replies)
Discussion started by: tirkha
3 Replies

4. Shell Programming and Scripting

Sysdate inside awk print statement

Hi, I am using awk statement to extract data from a file and write a new file with certain columns rearranged and few hard coded values added to new file. Now i need to add a column with sysdate. can i do that inside the awk print statement? Now: nawk ' /^3/ BEGIN {FS=","}... (2 Replies)
Discussion started by: selvankj
2 Replies

5. Shell Programming and Scripting

Multiple conditions inside my if statement

Hello, I am using shell scripting and I am recieving odd results from my if statement if I want it to enter the loop only if L1 is equal to zero and one of the other criteria are filled, however it is entering at other times as well. What can i do to fix this? i tried seperating it... (6 Replies)
Discussion started by: ryddner
6 Replies

6. Shell Programming and Scripting

issues with sql inside if statement

Hi, I have problem with the following code. My IF block is not executed. And I see "syntax error near unexpected token `)'" error for line "EOF" in the stats_function(). but when I comment the IF block I don't see this error. Kindly help me with this issue. clean_function() {... (10 Replies)
Discussion started by: babom
10 Replies

7. Shell Programming and Scripting

Use sqlplus statement inside case sentence

Hello, I have a problem. I want to launch a different sql queries for different shell parameter values, something like this. #/bin/bash case $1 in "A") sqlplus -s user/pass << SQL query A; SQL "B") sqlplus -s user/pass << SQL2 ... (3 Replies)
Discussion started by: Vares
3 Replies

8. Shell Programming and Scripting

Multiple conditions inside if statement

I was trying to write multiple conditions inside the if statement but its not working. export VAR_NM=abc.txt export CURR_DT=20131011 export PREV_DT=20131012 if && then echo "Yes" else echo "NO" fi It should return Yes but returning NO always.Appreciate any help. (3 Replies)
Discussion started by: dr46014
3 Replies

9. Shell Programming and Scripting

Command in inside awk statement

Hello can you please help me with below script which is meant to delete clients from multiple netbackup policies I want to run a command insdie awk statement apparelnlty this script is not working for me for i in $( cat clients_list) do bppllist -byclient $i | awk... (6 Replies)
Discussion started by: Sara_84
6 Replies
KLog(1) 							     Hamradio								   KLog(1)

NAME
klog - The KDE Ham Radio Logging program SYNOPSIS
klog [option] OPTIONS
A summary of options is included below. --help Show summary of options. --version Output version information and exit. DESCRIPTION
klog is a ham radio logging program for KDE. With KLog you can log your QSOs and save it in ADIF format. KLog helps you to manage DXCC, WAZ and IOTA award. USAGE
Enter you QSO data in the top left box while entity data, direction and other usefull information will be shown in the top right box. Previous QSOs are shown in the botton box where you can click to edit them. KLog can also import tlf (linux ham radio contest program) to your current log file. Here is a list of keys that can be used to navigate through klog: Control a: Add a QSO. Control d: Delete a selected QSO. Control n: Create a new log. Control o: Open a log. Control q: Close a log. Control u: Update a selected QSO. Control s: Save the log. Control y: Clear the QSO frame. Control f: Find a QSO in the log. Tab: Move around the fields in the QSO frame. PgUp: Scroll the log up. PgDn: Scroll the log down. Up Arrow: Select previous QSO. Down Arrow: Select next QSO. PRINTING
KLog has a very basic printing feature implemented. PREFERENCES
You can edit the ~/.klog/klogrc file to setup you call and locator. All the data files are saved in the KLog home directory (~/.klog) by default. FILES
/usr/share/klog/cty.dat contains the DXCC entries read by KLog. AUTHORS
KLog was written by Jaime Robles, EA4TV <jaime at robles.es> aka <jaime at kde.org> Download the last version from: http://jaime.robles.es Calculation of heading and distance was taken from Loccalc code by Marco Bersani, IK2PIH. Jaime Robles, EA4TV version 0.5.9 KLog(1)
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy