10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
We have a requirement of picking nth position value by using cut command. value would be delimited by any symbols. We have to pass delimited value and postition to get the value in a string.
ex.
echo "A,B,C,D,E" |cut -d "," -f3
echo "A|B|C|D|E"|cut -d "|" -f2
Kindly frame the... (5 Replies)
Discussion started by: KK230689
5 Replies
2. Shell Programming and Scripting
Hi,
I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Discussion started by: Pradhikshan
9 Replies
3. Shell Programming and Scripting
hi guys,
i want command or script to display the content of file from 2nd position to last but one position of a file
abcdefghdasdasdsd
123,345,678,345,323
434,656,656,656,656
678,878,878,989,545
4565656667,65656
i want to display the same above file without first and... (2 Replies)
Discussion started by: hemanthsaikumar
2 Replies
4. Shell Programming and Scripting
Hi Gurus,
I want to cut my file from 27th charactor to the end of line.
can anybody give some unix command to do this.
Thanks in advance (3 Replies)
Discussion started by: ken6503
3 Replies
5. Shell Programming and Scripting
I want to remove text from nth position to nth position couple of times in same line
my line is
"hello is there anyone can help me with this question"
I need like this
ello is there anyone can help me with question
'h' is removed and 'this' removed from the line. I want to do this... (5 Replies)
Discussion started by: elamurugu
5 Replies
6. UNIX for Dummies Questions & Answers
Hello
I need to pass some environment parameters to a datastage job and am getting an error when trying to send the complete concatinated variable. I have decided to parse out just the values and send as parameters but am struggling to find the best way to do this (actually I am not very... (3 Replies)
Discussion started by: LynnC
3 Replies
7. Shell Programming and Scripting
How to extract multiple data based on character position. I need to fetch from 7-9 and 22-26 and there is no delimiter for 22-26 since it is part of the column. The file may have more than 1000 character long.I managed to pull any one but not both
for example
test data
12345 zxc vbnmlk... (1 Reply)
Discussion started by: zooby
1 Replies
8. Shell Programming and Scripting
I need a script for...
how to find a position of column data and print some string in the next line and same position
position should find based on *HEADER8* in text
for ex: ord123 abs 123 987HEADER89 test234
ord124 abc 124 987HEADER88 test235
... (1 Reply)
Discussion started by: naveenkcl
1 Replies
9. Shell Programming and Scripting
Hi All,
I wish to cut an input by using the below command but i would want to have the cut position as a variable.
For eg, the position number is 11 now and i wish that this number is being assigned to a variable before putting into the cut function.
Can this be done ?
Can any expert help?... (1 Reply)
Discussion started by: Raynon
1 Replies
10. Shell Programming and Scripting
Hi folks
I have a file with thousands of lines with fixed length fields:
sample (assume x is a blank space)
111333xx444TTTLKOPxxxxxxxxx
I need to make a copy of this file but with only some of the field positions, for example I'd like to copy the sample to the follwing: so I'd like to... (13 Replies)
Discussion started by: HealthyGuy
13 Replies
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)