05-27-2015
Works perfect.... thank you
.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I find the files containing some text.
eg. I want to find alll the files that contain the word 'hello'
grep hello * will give me only for the specific directory.
How do I find for entire system.
Thanks for help in advance.. (5 Replies)
Discussion started by: sushrut
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have classes dir, in that I have jar and zip files, I need to find "Param.class" is in which zip or jar file? (1 Reply)
Discussion started by: redlotus72
1 Replies
3. Shell Programming and Scripting
I need to search a directory for files that have certain text in the file name. I use the following command to do that successfully -
find /abc/indicator -name '*midday*.ind'
The problem is some file names are lower case, some mixed case and some upper case. Is there a way to do the find... (5 Replies)
Discussion started by: schipper
5 Replies
4. UNIX for Dummies Questions & Answers
i need help with my script....
i am suppose to grab files within a certain date range
now i have done that already using the touch and find command (found them in other threads)
touch -d "$date_start" ./tmp1
touch -d "$date_end" ./tmp2
find "$data_location" -maxdepth 1 -newer ./tmp1 !... (6 Replies)
Discussion started by: deking
6 Replies
5. Shell Programming and Scripting
Evening all. I'm having a terrible time with a script I've been working on for a few days now...
Say I have a text file named top10song.tm2, with the following in it:
kernkraft 400
Imagine
i kissed a girl
Thriller
animals
hallelujah
paint it black
psychosocial
Oi to the world... (14 Replies)
Discussion started by: DJ Charlie
14 Replies
6. Shell Programming and Scripting
I have 100+ python files in a single directory. I need to replace a specific path occurrence with a variable name.
Following are the find and the replace strings:
Findstring--"projects\\Debugger\\debugger_dp8051_01\\debugger_dp8051_01.cywrk"
Replacestring--self.projpath
I tried... (5 Replies)
Discussion started by: noorsam
5 Replies
7. Shell Programming and Scripting
Hi.
I would like to have experts help on below action.
I have text files in which page nubmers exists in form like
PAGE : 1
PAGE : 2
PAGE : 3 and so on there is other text too. I would like to know is it possible to check the last occurance of Page... (6 Replies)
Discussion started by: lodhi1978
6 Replies
8. Shell Programming and Scripting
I'm having a problem how to find the specific word in a file without using the word itself as a search but using the assigned variable which is the $passwd.. what command should I use to find the value of $passwd written in different script? how do I use the command to print the value in this... (7 Replies)
Discussion started by: jenimesh19
7 Replies
9. Shell Programming and Scripting
Here's the nonfunctional code I have so far
#!/bin/bash
searchFor=(`cat filea.txt` )
replaceWith=(`cat fileb.txt`)
myMax=${#searchFor}
myCounter=1
while ;
do sed -i 's/${$searchFor}/${$replaceWith}/g'
done
The goal is to use each line in filea.txt as a search term, and each line... (2 Replies)
Discussion started by: Erulisseuiin
2 Replies
10. Linux
I've been using this to search an entire directory recursively for a specific phrase in my code (html, css, php, javascript, etc.):
find dir_name -type f -exec grep -l "phrase" {} \;
The problem is that it searches ALL files in the directory 'dir_name', even binary ones such as large JPEG... (2 Replies)
Discussion started by: Collider
2 Replies
LEARN ABOUT DEBIAN
config::model::models::lcdd::picolcd
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)