hi all, I'm really newbie on this and I need some help.
how is the best way to extract a strig or substring from a each line in a file.
e.g. I want to print only this ERROR=JUD+the followed numbers from one line like this one, considering the numbers change related to different errors
... (1 Reply)
Hi All,
I am encountering a problem while removing a string from a file. Actually, i have done this thing before using sed to replace the word but this time word is not specfic. its value is changing with each file.
e.g.
%HD% Serial Number list per DN required. +3... (2 Replies)
Hi all,
I have 2 files. One contains only 1 column and other one contains 2 columns, let say 1_col.txt and 2_col.txt respectively. Here, I will try to explain with an example.
Input files :
1_col.txt 2_col.txt
a a b
x a c
p ... (5 Replies)
I am looking help in awk, quick overview. we will get feed from external system . The input file looks like below.
Detail Id Info Id Order Id STATUS Status Date FileDetail
99127942 819718 CMOG223481502 PR 04-17-2011 06:01:34PM... (7 Replies)
Hello,
I have a data file with 300,000 records in it, and another file which contains only the line numbers of roughly 13,000 records in the data file which have data integrity issues. I'm trying to find a way to print the original data by line number identified in the second file. How can I do... (2 Replies)
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (1 Reply)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
Discussion started by: sravanreddy
4 Replies
LEARN ABOUT DEBIAN
completioneditor
MatchEditor(3I) InterViews Reference Manual MatchEditor(3I)NAME
MatchEditor - StringEditor with string completion
SYNOPSIS
#include <InterViews/compeditor.h>
DESCRIPTION
CompletionEditor is a StringEditor subclass with the added ability to complete the current contents of the edit buffer against a specified
set of strings. A CompletionEditor is often useful when a user must specify a selection from a large set of well-known strings--the user
need only type the first few characters of the string; he types the completion character to fill out the remainder.
When the user types the completion character, CompletionEditor checks the current string against the list of possible completions. If the
current string is a prefix of one or more completion strings, characters are appended so that the edit string contains the longest common
prefix; if the current string does not match any completion string, trailing characters are removed until the string matches at least one
completion. In any case, if there is more than one possible completion of a string, CompletionEditor rings the workstation bell.
PUBLIC OPERATIONS
CompletionEditor(ButtonState*, const char* sample, const char* done)
Create a new CompletionEditor object. The ButtonState, sample string, and termination string are passed to the StringEditor con-
structor.
void Completions(const char* completions[], int count, char complete)
Specify the list of completion strings and the completion character. The initial completion list is empty, and the completion char-
acter defaults to a space. CompletionEditor does not copy the strings in the list.
SEE ALSO StringEditor(3I)InterViews 13 Dec 1989 MatchEditor(3I)