Input-sequence of binary number(it a file contains multiple values)
from this sequence I want to change some particular column for each input
I have to change some value in the input after that this substitute command .
But above two commands are working fine but I want to change 10 columns in one input ,how to do that??
the file contains the follwoing lines
/*
* Copyright (C) 1995-1996 by XXX Corporation. This program
* contains proprietary and confidential information. All rights reserved
* except as may be permitted by prior written consent.
*
* $Id: xxx_err.h,v 1.10 2001/07/26 18:48:34 zzzz $
... (1 Reply)
$ cat log.txt
Name Age Sex Lcation nfld alias xsd
CC 25 M XYZ asx KK Y
BB 21 F XAS awe SS N
SD 21 M AQW rty SD A
How can I replace the column with header "Lcation" with the column with header "alias" and delete the "alias" column?
so that the final output will become:
Name Age Sex... (10 Replies)
Okay, title is kind of confusion, but basically, I have a lot of scripts on a server that I need to replace a ps command, however, the new ps command I'm trying to replace the current one with pipes to sed at one point. So now I am attempting to create another script that replaces that line.
... (1 Reply)
Hello! I'm using sed to perform a lots of replaces in one text file. I call it this way:
sed -f commands.txt in.txt > out.txt
commands.txt has about 1000 lines, each one is some variation of:
s/from/to/gI
And in.txt has about 300 000 lines. So the problem is that operation takes about... (7 Replies)
Hi
I know sed and awk has options to give range of line numbers, but
I need to replace pattern in specific lines
Something like
sed -e '1s,14s,26s/pattern/new pattern/' file name
Can somebody help me in this....
I am fine with see/awk/perl
Thank you in advance (9 Replies)
Hi Bigshots,
I have a pattern file with two columns. I have another data file. If column 1 in the pattern file appears as the 4th column in the data file, I need to replace it (4th column of data file) with column 2 of the pattern file. If the pattern is found in any other column, it should not... (6 Replies)
how to search and replace string in column in file with command sed or other
search "INC0000003.in" and replace column 4 = "W"
$ cat file.txt
INC0000001.in|20150120|Y|N|N
INC0000002.in|20150120|Y|N|N
INC0000003.in|20150120|Y|N|N
INC0000004.in|20150120|Y|N|Noutput... (4 Replies)
Hi All,
I need to extract a position in the file and multiple the value by 1000 and the replace it .
Original
0010001200084701217637306521200000000000010010000000 ---> 000847 * 1000
0010012700086001213437404323000000000000001001000000 ---> 000860 * 1000... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
LEARN ABOUT OSF1
dxhangulim
dxhangulim(1X)dxhangulim(1X)NAME
dxhangulim - An input server for Korean
DESCRIPTION
In a Motif environment such as CDE, Asian language input methods are supported by independent processes called input servers. The Korean
input server (dxhangulim) is an X client process that can run on a standard X server, provided that the server system has the required
Korean fonts installed. This means that the Korean input server can run on any system that can access your X display device, including the
device itself.
Starting the Input Server
If your CDE session language is set to Korean, the Korean input server is started automatically, and both the language setting and the
Korean input method is available for applications that you start during that session. If your session language is not set to Korean, you
can switch to Korean from a terminal emulation window by setting the LANG environment variable to a Korean locale. From the same terminal
emulation window, you must also use the command line to start the Korean input method server and then other applications in which you want
to use Korean.
You can start the input server on your local workstation by using the following command:
% /usr/bin/X11/dxhangulim &
If you want to start the input server on a remote system, log on the remote system, and enter the following commands. Substitute the name
of your local system for <display_name> in the first command.
% setenv DISPLAY <display_name>:0 % /usr/bin/X11/dxhangulim &
After the input server is started, any Motif applications that have been internationalized to support Korean can communicate with the
server to obtain input method services. However, remember that these applications must be started after the server is started.
PC-Style Keyboard Restrictions
If you are using a PC-style keyboard, the input server may not recognize the Backspace key as the way to delete the previous character in
the input method preediting area. In this case, you must use the Delete key to delete the character.
The default Alt-Space key sequence for activating and deactivating the input method may not work under CDE. In this case, invoke the dialog
box for Input Method Customization and change the key sequence for Start Input Method and End Input Method to be something other than Alt-
Space. For example, you could change the sequence to be Ctrl-Space.
SEE ALSO
Commands: dxhanziim(1X), dxhanyuim(1X), dxjim(1X), locale(1)
Others: i18n_intro(5), Korean(5), l10n_intro(5)dxhangulim(1X)