Hi guys, I am new here. I have done many scripts in VisualBasic and batch.
Now going to *inux and learning bash and perl, quite amazing commands I find in linux, like sed, grep, awk and so on...
the task is simple, find a string in folders and remove the line where that string exists.
I can... (3 Replies)
hi
i have a file contains data
session terminated
Line timeout: 120
Change state START->SIGNON_REPLY, RC=0
Change state SIGNON_REPLY->SIGNON, RC=0
i need to remove "Change state" and write to the same file
please help
thanks
Satya (3 Replies)
I am trying to delete the line with pattern and the next line. Found the below command in forum which also deleted the previous line. how should i modify that to make sure that only the line with pattern and the next line are deleted but not the previous line?
awk '/key... (1 Reply)
I'm looking for a way to search a file, in this case init.rc for a specific match, service adbd /sbin/adbd, and delete the a specific line after it
Original:
# adbd is controlled by the persist.service.adb.enable system property
service adbd /sbin/adbd
disabled
After deletion:
#... (5 Replies)
I am using a while loop to read a file and i have to delete a string from the last line. Here is the code so far:
1. Read line by line from file new.html using while loop and store in a variable data
2.Now, need to replace '||chr( from last line in data
I am able to replace that character from... (12 Replies)
All,
I am trying to read in a variable and search a file then delete based on that string, but i want to match exact word.
This works but it matches all, i don't want to match anthing that contains the string, just the exact string.
sed -i "/$feedname/d" file
I tried
sed... (1 Reply)
Hi all,
i have some logs on my linux server that looks like this:
CDR.2012-04-30:30-04-2012 14:09:36;123456456654;A;Greetings! Your amount is 42.24 dollars (without VAT) until 30/04/2012 11:00.
CDR.2012-04-30:30-04-2012 14:09:36;12154878454212;A;Greetings! Your amount is 4203.2 dollars... (2 Replies)
Hi ,
i have a file with data as below.This is same file. But actual file contains to many rows.
i want to search for a string "Field 039 00" and delete that line and previous 3 lines in that file.. Can some body suggested me how can i do using either sed or awk command ?
Field 004... (7 Replies)
Hi Everyone,
I have a requirement in ksh where i have a set of files in a directory. I need to search each and every file if a particular string is present in the file, delete that line and replace that line with another string expression in the same file.
I am very new to unix. Kindly help... (10 Replies)
Discussion started by: Pradhikshan
10 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)