Hi I have a spaced filled file having records like below:
What I want is to read line having RT3 at position 17-19 then go to position 2651 check the 18 characters (might be space filled till 18 characters). This position should have a... (6 Replies)
I have a text file with following content (3 lines)
filename : output.txt
first line:12/12/2008
second line:12/12/2008
third line:Y
I would like to know how we can replace 'Y' with 'N' in the 3rd line keeping 1st and 2nd lines same as what it was before.
I tried using cat output.txt... (4 Replies)
hi all,
i am new bee to Unix.
i know how to replace text for range of lines in vi
for e.g. replace | with |||| for line 4 through 7 using vi
: 4,7s/|/||||/g
but i have to replace | with |||| only for line no 4, 7 and 10 using vi only!!!
your help will be appreciated!
thanks,... (4 Replies)
I am new to unix and awk/sed etc... using C-Shell.
Basically, I have a fixed length file that has 4 different record types on it, H, D, V, W all in column 1. I need to change all the W's in column 1 to D's. in the entire file. The W's can be anywhere in the file and must remain in the same... (3 Replies)
Hi,
I would like to use sed to replace NA to x ('s/NA/x/g'), but only in the 5th column of the space delimited text file, nowhere else. How do I go about doing that? Thanks! (1 Reply)
I have two files
a.txt
b.txt
I want to find a line in a.txt and replace by another line from b.txt
a.txt
asfsdfsfsfdfsf
asfwererfgdgf
wrerwetretfdg
b.txt
werdfgdfgf
werergfdgd
sfdfgfgfgfgg
i want to replace the 1st line of a.txt by 1st line of b.txt
i want out put as (5 Replies)
Dear all,
I want to find all the "," in my text file and then replace the commas to a tab. I found a script online but I don't know how to modify the script for my case. Any one can help? Thank you.
@echo off &setlocal
set "search=%1"
set "replace=%2"
set "textfile=Input.txt"
set... (2 Replies)
Dear Unix guru,
I have a .XML file which is being used to load data to oracle. This file comes on unix box and one of the tag in xml is oracle key word. I want to find that tag and replace with new tag on the fly
For example
I will get one of the tag in xml is as below
<from>Test Test... (12 Replies)
Discussion started by: guddu_12
12 Replies
LEARN ABOUT DEBIAN
marc::charset::code
MARC::Charset::Code(3pm) User Contributed Perl Documentation MARC::Charset::Code(3pm)NAME
MARC::Charset::Code - represents a MARC-8/UTF-8 mapping
SYNOPSIS DESCRIPTION
Each mapping from a MARC-8 value to a UTF-8 value is represented by a MARC::Charset::Code object in a MARC::Charset::Table.
METHODS
new()
The constructor.
name()
A descriptive name for the code point.
marc()
A string representing the MARC-8 bytes codes.
ucs()
A string representing the UCS code point in hex.
charset_code()
The MARC-8 character set code.
is_combining()
Returns true/false to tell if the character is a combining character.
to_string()
A stringified version of the object suitable for pretty printing.
char_value()
Returns the unicode character. Essentially just a helper around ucs().
marc_value()
The string representing the MARC-8 encoding.
charset_name()
Returns the name of the character set, instead of the code.
to_string()
Returns a stringified version of the object.
marc8_hash_code()
Returns a hash code for this Code object for looking up the object using MARC8. First portion is the character set code and the second is
the MARC-8 value.
utf8_hash_code()
Returns a hash code for uniquely identifying a Code by it's UCS value.
default_charset_group
Returns 'G0' or 'G1' indicating where the character is typicalling used in the MARC-8 environment.
get_marc8_escape
Returns an escape sequence to move to the Code from another marc-8 character set.
charset_value
Returns the charset value, not the hex sequence.
perl v5.12.4 2010-03-29 MARC::Charset::Code(3pm)