Hello
I have a very large file where say each line is made up of 80 characters.
I want to cut the characters from 20-30 and 50-60 from each line and then insert a delimiter between them (# or | etc).
eg
input file
000000000131.12.20990000590425246363375670011200140406... (5 Replies)
hi,
I have a file with content like this for an employee:
EmployeeID
101
Day_type, day
vacation,1/2/2009
sick day, 3/2/2009
personal day, 4/5/2009
jury duty day, 5/5/2009
how do I make the result to show:
EmployeeID,Day_type,day
101,vacation,1/2/2009
101,sick day,... (6 Replies)
Hi,
Need a help with shell script. I have to search for a string in one of the file, if match found, copy the line to a new file and delete the line from the exisiting file.
eg:
83510000000000063800000.1800000.1600000.1600000.2400000.1800000.2000000.21... (6 Replies)
Hello,
I am working on unix for the first time.
I have to write a shell script where i want to cut paste from one file to other.
File "1234.abc" is
03,12345555
16,936,x,x,120
16,936,x,x,100
49,12345555
03,12347710
16,936,x,x,115
16,936,x,x,122
49,12347710
03,12342222... (9 Replies)
Hi,
First of all sincere apologies if I have posted in a wrong section ! Please correct me if I am wrong !
I am very new to UNIX scripting.
Currently my problem is that I have a code file at the location /home/usr/workarea/GeneratedLogs.log :-
Code :-
(Feb 7, 571 7:07:29 AM),... (4 Replies)
Hello,
I have some problem in cut or paste command for my text data.
Input1.txt :
I use cut command :
cut -d ' ' -f1 Input1.txt > result.txt result.txt :
Then, I use paste command to merge result.txt.
paste -d ' ' result.txt Input1.txt > output.txt output.txt showed :
I use cut... (1 Reply)
Hello ppl
I have a requirement to split (cut in unix) a file (A.txt) which is a pipe delimited file into A1.txt and A2.txt
Now I have to join (paste in unix) this A2.txt with external file A3.txt to form
output file A4.txt which should be CSV (comma separated file) so that third party can... (25 Replies)
Hello,
I know there are many questions and replies regarding grep command.
What I would like to do is a bit different.
File A:
hello world welcome to my page
this is my test site
how are you
I am fine, thank you
where have you been
I was in hospital
really hope you are fine now
Thanks,... (10 Replies)
Discussion started by: baris35
10 Replies
LEARN ABOUT HPUX
xudced
xudced(1) General Commands Manual xudced(1)NAME
xudced - user-defined character editor
SYNOPSIS
xudced [udc_file [WIDTHxHEIGHT]]
DESCRIPTION
xudced is an editor that creates, modifies, and deletes user-defined characters (UDC). It uses bitmap(1) to edit UDC character patterns.
Character patterns from existing HP Asian fonts can be modified to create UDCs. xudced runs on the X Window System, Version 11.
If udc_file is not specified, the file $HOME/.nlio_udc is read.
WIDTHxHEIGHT sets the size of UDC pattern. This can be specified by the udc_width and the udc_height resources. If it is not specified,
24x24 is used.
Menu
Functions are selected with pull-down menus. To select a function, move the mouse pointer to the menu header. Press and hold the left
mouse button. A pull-down menu appears. Drag the mouse pointer down to the desired function and release the mouse button.
Functions with the ... suffix invoke a pop-up box that requests further information.
The following functions are available:
File
Open ... Open a file for editing. A pop-up box appears. Enter the file name and the size of the UDC and click OK
to display the file. Click Cancel to abort the function.
Open font ... Open an HP font and display its contents in another window. A pop-up box appears. Enter the HP font name
and click OK to display the font. Click Cancel to abort the function.
Save Save UDCs to the file. They are sorted by index number according to the udc(4) format.
Exit Exit xudced. If the UDCs have been changed since the last Save, a pop-up box appears. Click yes to save
the UDCs before exiting. Click no to exit without saving. Click cancel to abort the function.
Edit To edit a particular UDC, move the mouse pointer to the UDC, click the left mouse button, and select an Edit function.
These functions can be selected from the Edit menu header, or by clicking and dragging the right mouse button while in the
edit window.
Cut Remove the selected UDC and store it in the Cut&Paste buffer.
Copy Copy the selected UDC to the Cut&Paste buffer.
Paste Insert the contents of the Cut&Paste buffer.
Delete Remove the selected UDC.
Search ... Search a UDC. A pop-up box appears. Enter the index number of the UDC and click OK to search the UDC.
Click Cancel to abort the function.
Modify pattern ...
Invoke bitmap(1) to modify the character pattern of the selected UDC.
View
Code ... Display the index code and the character pattern for all UDCs in the file. A new window appears that dis-
plays the index codes and the character patterns. Click Close to close the window.
Cut buffer ...
Display the contents of Cut&Paste buffer. A new window appears. Click Close to close the window.
Cut&Paste Buffer
The contents of the Cut&Paste buffer is shared among windows. Therefore, the Cut, Copy, and Paste functions can be used to move character
patterns between windows.
X Defaults
xudced uses the following resources:
background background color.
foreground foreground color.
font text font.
udc_width default width of UDC.
udc_height default height of UDC.
REMARKS
In Japanese environment, two main windows are invoked. One is for the udc of JIS X 0208 font, and the other is for the udc of JIS X 0212
font.
SEE ALSO bitmap(1), udcc(1), udcload(1), udc(4).
xudced(1)