Sponsored Content
Operating Systems Solaris [Solved] Using awk withing a shell script Post 302759661 by bjdamon on Tuesday 22nd of January 2013 05:15:00 PM
Old 01-22-2013
Works perfectly now! Thank you so much!!!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

html withing shell scripts,how??

Hi can anybody guide me to write html programs using shell script. FYI: I use ksh. Thanks in advance, Divya (6 Replies)
Discussion started by: divzz
6 Replies

2. Shell Programming and Scripting

awk splits file in to multiple - how to get filenames in variables withing ksh?

Hi all, I'm using awk in a .ksh script to split one file by line prefix into different files (up to 4). The files are named after the prefix in the line, and a sequence no. Is there any way to get the filenames in to variables too? I need _ftpfile1, _ftpfile2, _ftpfile3 and _ftpfile4 which are... (2 Replies)
Discussion started by: spidermike
2 Replies

3. Shell Programming and Scripting

AWK variable in Main script??? solved

Using an awk script , i want to store the value of a variable in the main script. currently sum is getting reset to blank in the main script. How to modify the below code to get the value of esum in the variable sum of the main script??? sum=`echo "$row" | awk -F"" '{$esum=$5}'` ... (0 Replies)
Discussion started by: skyineyes
0 Replies

4. Shell Programming and Scripting

[Solved] Shell script help

Hi fellas, I have a file that contains text something like this SNAPSHOT snap-021ede4a vol-bc3f89c0 completed 2012-11-19T06:05:26+0000 100% 170495546006 850 Created by CreateImage(i-6adc0515) for ami-977dfafe from vol-bc3f89c0 TAG snapshot snap-021ede4a project PAC TAG snapshot... (5 Replies)
Discussion started by: Kashyap
5 Replies

5. Shell Programming and Scripting

[Solved] Shell script not working in crontab

Hi Iam running below script in crontab but its not working. #!/bin/sh cd /Scripts /usr/local/bin/expect -f /Scripts/bng_backup.exp /Scripts/data.txt tar -cf bngbackup.tar bngbackup ;gzip bngbackup.tar when iam running manually the output file is generating..but bngbackup.tar.gz file... (5 Replies)
Discussion started by: surender reddy
5 Replies

6. UNIX and Linux Applications

[Solved] How to connect DB2 from UNIX shell script?

Hi all, I have a requirement to connect DB2 database and do some operations and generate a report through shell script. Can anyone please tell me how can i connect DB2 from unix shell script? Thanks in ADV. (2 Replies)
Discussion started by: gani_85
2 Replies

7. Shell Programming and Scripting

[Solved] How to debug awk script?

how can i view what variables are stored upon the excution of an awk script. something equivalent to shell eg. sh -vx "script_file" many thanks in advance! (1 Reply)
Discussion started by: Apollo
1 Replies

8. Shell Programming and Scripting

[SOLVED] Why awk script will not output to file?

I have a script that looks like this: for f in LISTDETAIL; do gawk -f script_0113b "$LISTDETAIL";done It works perfectly, and I can see input on the screen. I have tried to redirect it to a file with the following techniques, but no luck: for f in LISTDETAIL; do gawk -f script_0113b... (2 Replies)
Discussion started by: newbie2010
2 Replies

9. Shell Programming and Scripting

[Solved] Running a R script with in a shell script

Hi, I do have an R script named KO.R. Basically reads thousands of files, whose name has a pattern that differs at a portion of the file name, List.txt. Row_file1_mile.txt Row_file2_mile.txt Row_file3_mile.txt ... ... Row_file1000_mile.txt Below is a portion of my Rscript that reads... (4 Replies)
Discussion started by: Kanja
4 Replies

10. Shell Programming and Scripting

[solved] Awk/shell question to parse hour minute from text

Hi, I have a quick question on parsing the hour/minute and value from a text file and remove the seconds portion. For example in the below text file: 20:26:01 95.83 20:27:01 96.06 20:28:01 95.99 20:29:01 7.11 20:30:01 5.16 20:31:01 8.27 20:32:02 9.79 20:33:01 11.27 20:34:01 7.83... (2 Replies)
Discussion started by: satishrao
2 Replies
Config::Model::models::LCDd::picolcd(3pm)		User Contributed Perl Documentation		 Config::Model::models::LCDd::picolcd(3pm)

NAME
Config::Model::models::LCDd::picolcd - Configuration class LCDd::picolcd VERSION
version 2.021 DESCRIPTION
Configuration classes used by Config::Model generated from LCDd.conf Elements KeyTimeout KeyTimeout is the time in ms that LCDd spends waiting for a key press before cycling through other duties. Higher values make LCDd use less CPU time and make key presses more detectable. Lower values make LCDd more responsive but a little prone to missing key presses. 500 (.5 second) is the default and a balanced value. Optional. Type integer. upstream_default: '500'. Backlight Sets the initial state of the backlight upon start-up.Optional. Type enum. choice: 'on', 'off'. upstream_default: 'on'. Brightness Set the initial brightness . Works only with the 20x4 device. Optional. Type integer. upstream_default: '1000'. OffBrightness Set the brightness while the backlight is 'off' . Works only with the 20x4 device.Optional. Type integer. upstream_default: '0'. Contrast Set the initial contrast Optional. Type integer. upstream_default: '1000'. Keylights Light the keys? Optional. Type enum. choice: 'on', 'off'. upstream_default: 'on'. Key0Light If Keylights is on, the you can unlight specific keys below: Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys. There is no LED for the +/- keys. This is a handy way to indicate to users which keys are disabled. Optional. Type enum. choice: 'on', 'off'. upstream_default: 'on'. Key1Light Optional. Type uniline. default: 'on'. Key2Light Optional. Type uniline. default: 'on'. Key3Light Optional. Type uniline. default: 'on'. Key4Light Optional. Type uniline. default: 'on'. Key5Light Optional. Type uniline. default: 'on'. LircHost Host name or IP address of the LIRC instance that is to receive IR codes If not set, or set to an empty value, IR support is disabled.Optional. Type uniline. default: '127.0.0.1'. LircPort UDP port on which LIRC is listening Optional. Type integer. upstream_default: '8765'. LircFlushThreshold Threshold in jiffies of synthesized gap that triggers flushing the IR data to lirc 100 means 6.1ms. legal: 16 - 32767; Use 0 to disable.Optional. Type integer. upstream_default: '100'. SEE ALSO
o cme perl v5.14.2 2012-11-09 Config::Model::models::LCDd::picolcd(3pm)
All times are GMT -4. The time now is 09:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy