01-27-2010
i think i was not clear enough to explain my problem, the problem is that i have one variable which has some value say value1 now i want to check each line of file, if the field18 is greater than 14 than replace whatever in the field18 with value1. I hope i am clear this time. Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been trying to use the find command to grab the latest file in a directory and move it to another area. I can't seem to get only that file, I end up getting everything for the day.
Any ideas?
Thank you (1 Reply)
Discussion started by: n9ninchd
1 Replies
2. UNIX for Dummies Questions & Answers
folks,
In my working directory, there a multiple large files which only contain one line in the file. The line is too long to use "grep", so any help?
For example, if I want to find if these files contain a string like "93849", what command I should use?
Also, there is oder_id number... (1 Reply)
Discussion started by: ting123
1 Replies
3. Windows & DOS: Issues & Discussions
:confused:
Hello,
Is there any way to use the dir command / some DOS Script to select only first file of similar pattern of files in a direcotory and rename it for example, one directory has 5 files
abc_1005.txt
abc_5256.txt
abc_2001.txt
abc_2003.txt
abc_3006.txt
by use script I would... (2 Replies)
Discussion started by: raghav525
2 Replies
4. Shell Programming and Scripting
Hey guys, I need a command that grabs only this part of the .txt file (that is attached), and outputs it to another .txt file with only these contents below. Thanks in advanced brothers:
Disk: Local Disk (C:), NTFS
Disk Defragmentation Summary
Disk Size 230.85 GB
Free Space Size... (4 Replies)
Discussion started by: aabbasi
4 Replies
5. Shell Programming and Scripting
I am a newbie and what I have is a captured file of content. I want to be able to grab 2 pieces of data, multiple times and print them to the screen.
DataFile
owner: locke
user: fun
data size: 60
location: Anaheim
owner: david
user: work
data size: 80
location: Orange
my script... (2 Replies)
Discussion started by: greglocke
2 Replies
6. Shell Programming and Scripting
Hello All
I have a file with this type of records:
=LDR 01157nas a22003011a 4500
=001 vtls000000013
=003 VRT
=005 20111020150800.0
=008 100128c19699999sp\a|||||\||||0\\\||spa|
=037 \\$a1327$i090$j090$k03
=039 ... (14 Replies)
Discussion started by: ldiaz2106
14 Replies
7. Shell Programming and Scripting
in my file which is a rather long log file it contains many text and tables and there is one table with 15 columns and I am interested to read in the value in column6 and its corresponding value in column2. Trouble is I do not know how to script it as the line number various between different log... (8 Replies)
Discussion started by: piynik
8 Replies
8. Shell Programming and Scripting
I need to send email to receipient in each block of data in a file which has the sender address under TO and just send that block of data where it ends as COMPANY.
I tried to work this out by getting line numbers of the string HELLO but unable to grab the next block of data to send the next... (5 Replies)
Discussion started by: loggedout
5 Replies
9. Shell Programming and Scripting
Solved with iptables.
Many thanks...
Hello,
Objective:
What I would like to accomplish is :
- To read file1 line by line and search each word in file2.
- To grab corresponding ip addresses found in file2
- To send related ip addresses to fail2ban (not iptables)
By this way, when I... (5 Replies)
Discussion started by: baris35
5 Replies
10. Shell Programming and Scripting
Sorry for the weird title but i have the following problem.
We have several files which have between 10000 and about 500000 lines in them. From these files we want to remove lines which contain a pattern which is located in another file (around 20000 lines, all EAN codes). We also want to get... (28 Replies)
Discussion started by: SDohmen
28 Replies
LEARN ABOUT SUSE
tixutils
Utils(n) Tix Built-In Commands Utils(n)
__________________________________________________________________________________________________________________________________________________
NAME
tixUtils - Utility commands in Tix.
SYNOPSIS
tixDescendants pathName
tixDisableAll pathName
tixEnableAll pathName
tixPushGrab ?-global? window
tixPopGrab
_________________________________________________________________
DESCRIPTION
tixDescendants pathName
Returns a list of all the descendant widgets of pathName plus pathName itself.
tixDisableAll pathName
Disables pathName and all its descendants.
tixEnableAll pathName
Enables pathName and all its descendants.
tixPushGrab ?-global? window
The tixPushGrab and tixPopGrab commands allows you to perform "cascade-grabbing". tixPushGrab calls the grab(n) command on window
and saves window on a grabbing stack.
tixPopGrab
tixPopGrab pops the top-most element from the grabbing stack and release its grab. If the grabbing stack is not empty, then tixPop-
Grab will execute grab(n) on the current top-most element in the grabbing stack.
NOTES
Some Tix widgets (for example, tixComboBox and tixPanedWindow) grabs the screen on certain occasions using tixPushGrab and tixPopGrab.
Therefore, if you need to grab the screen when these widgets are present, you should also call tixPushGrab and tixPopGrab in place of the
Tk grab and grab release commands. Otherwise, the behavior of these widgets may be undefined.
KEYWORDS
Tix(n), grab(n)
Tix 4.0 Utils(n)