Hi, guys. I have one question:
I have a file called "group", the contents of it is below:
********************************
...
test:x:203:
sales:x:204:
repair:x:205:
research:x:206:brownj
...
***********
Now I want to add string ",sherrys" at the end of "research:x:206:brownj", so... (5 Replies)
Hello all,
I have a stumper of a problem. I am trying to append a ^M or "newline" to the end of each 129 character string in a huge file in unix.
Each string starts with A00.
I am trying to get the file to go from...
A00vswjdv1 Test Junk Junk A00vswjdv2 Test Junk Junk ... (6 Replies)
Hi Friends, I have a file with many lines as shown below.
/START SAMPLE LINE/
M:\mmarimut_v6.4.0_pit_01\java\build.xml@@\main\v6.4.0_pit_a
M:\mmarimut_v6.4.0_pit_01\port\Post.java@@\main\v6.4.0_pit_a
M:\mmarimut_v6.4.0_pit_01\switchview\View.java@@\main\v6.4.0_pit_a
/END SAMPLE LINE/
I... (1 Reply)
Hi friends,
I have a file containing many lines as follows.
M:\mmarimut_v6.4.0_pit_01\java\build.xml@@\main\v6.4.0_pit_a
M:\mmarimut_v6.4.0_pit_01\ADBasicView.java@@\main\v6.4.0_pit_a
I would like to append the string "\0" at the end of each line in the file. The output should look... (10 Replies)
After I create printer queues in AIX, I have to append a filter file location within that printers custom file. within lets say test_queue.txt I need to find the row that starts with :699 and then I need to append on the end the string /usr/local/bin/k_portrait.sh.
Now I've gotten the sed... (2 Replies)
Hello, could you please help with this one. I have an input file like this:
123,4567,89000
123456789,9876543,12
and for the output I need strings to be with the fixed length, let's say 15, and if the string is -lt 15 to be populated with blanks at the end until it reach 15, like this:
123 ,4567... (1 Reply)
I have 2 files that I am working with
$ cat file1
server1
server3
server5
server6
server8
$ cat file2
server1;Solaris;
server2; SLES;
server3;Linux;
server4; Solaris;
server5;SLES;
server6;SLES;
server7;Solaris;
server8;Linux; (1 Reply)
Hi,
I have a File, which have multiple rows.
Like below
123456 Test1 FNAME JRW#$% PB MO Approver XXXXXX. YYYY
123457 Test2 FNAME JRW#$% PB MO Super XXXXXX. YYYY
123458 Test3 FNAME JRW#$% PB MO Approver XXXXXX. YYYY
I want to search a line which contains PB MO Approver and append... (2 Replies)
Platform: Solaris 10
I have a file like below
$ cat languages.txt
Spanish
Norwegian
English
Persian
German
Portugese
Chinese
Korean
Hindi
Malayalam
Bengali
Italian
Greek
Arabic
I want to append the string " is a great language" at end of each line in this file. (3 Replies)
hi,
i need a help in the script , need to append a string at the end of each line of a files , and append the files into a single file vertically.
eg
file1 has the following columns
abc,def,aaa
aaa,aa,aaa
files 2 has the following rows and columns
abc,def,aaa
aaa,aa,aaa
i... (3 Replies)
Discussion started by: senkerth
3 Replies
LEARN ABOUT DEBIAN
ulist
UList(3U) InterViews Reference Manual UList(3U)NAME
UList - circular, doubly-linked list class
SYNOPSIS
#include <Unidraw/ulist.h>
DESCRIPTION
UList implements a circular, doubly-linked list. The sentinel and each entry in the list are instances of the UList class, each containing
a void pointer to the data they contain as well as pointers to the next and previous UList instance in the list. The sentinel UList
instance is considered to represent the list.
PUBLIC OPERATIONS
UList(void* = nil)
Create a new UList instance, optionally supplying the value for the void pointer it stores.
virtual ~UList()
Delete the entire list. Normally the sentinel, which represents the list, is the entry that is deleted explicitly. Note that the
data on the list, stored as void*'s, cannot be deleted in this manner.
void Append(UList*)
void Prepend(UList*)
When performed on the sentinel, Append appends an element to the end of the list and Prepend prepends it to the beginning of the
list. When performed on a UList instance other than the sentinel, Append has the effect of inserting its argument before the
instance, while Prepend has the effect of inserting it after the instance.
void Remove(UList*)
Unlink the specified UList instance from the list it is in. The object on which this operation is called is irrelevant.
void Delete(void*)
Find the UList instance in this list containing the given void pointer, remove it from the list it is in, and delete it.
UList* Find(void*)
Return the UList instance in this list containing the given void pointer.
UList* First()
UList* Last()
UList* End()
UList* Next()
UList* Prev()
Return various UList instance in the list relative to this, i.e., as if it were the sentinel. End returns the sentinel (this) and
is useful for detecting the end of an iteration through the list; the other operations are self-explanatory.
boolean IsEmpty()
Return whether or not the list has any elements.
void* operator()()
Return the void pointer that the UList stores.
UList* operator[](int i)
Return the ith UList in the list, where the next element is the first, etc.
Unidraw 3 October 1990 UList(3U)