By default sort takes white space chars as delimiter, in your case you fields only delimited by tab, so you don't have to specif any delimiter, I have executed on solaris, it worked fine for me
I am trying to run a script which makes use of these environment variables, hence i need to export them out.
i've posted a similar post in an oracle forum. I've posted the same qn here to get some advise on the scripting aspect.
i execute my program in an unix environment by typeing... (2 Replies)
--fail seems to not be working in cURL. When using cURL to download multiple files, --fail is supposed to keep cURL from making files that don't exist, on 404 errors. But when I use --fail or -f, it still makes those files. I've tried it on both Cygwin cURL and Win32 cURL.
Anyone know anything... (2 Replies)
Is there a way to determine the ascii value of a character? For example, let's say a shell variable has the value 'A'. I would like it's ascii value (e.g. 65 in this case). I would like to do this from a script (preferably ksh). (12 Replies)
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
In another thread (field separator in Perl) I nearly solved my sorting problem and I finally understood the Schwartzian transform especially thank to KevinADC. After that I've found out that the sorting was not done the way I need it. I did not notice it at first because I used all vowels as a... (6 Replies)
A very simple question but I have scoured the web and can't find an answer. How do I search for a character by ASCII code in a regular expression using grep?
For example, we use the End of Medium symbol as a delimiter in certain files. (this is ascii 031 in oct, displays as ^Y) I want to grep... (6 Replies)
Hi,
In my file, for few field I have to print the next ASCII character for every character.
In the below file, I have to do for the 2,3 and 5th fields.
Input File
========
1|abc|def|5|ghi
2|jkl|mno|6|pqr
Expected
Ouput file
=======
1|bcd|efg|5|hij
2|klm|nop|6|qrs (2 Replies)
Hi - Please help me to understand the Veritas Cluster fail-over capability.
We configured oracle database file system on veritas cluster file system and it is automatically failing-over from node 1 to node 2.
Does Veritas cluster softward have any option to fail-back from node 2 to node 1... (6 Replies)
Hi Guru,
I have put one post yesterday and get answer. thanks for your help.
my question today is: what is ascii character for following non printable characters: ( we need filter these characters out in another process)
^MM-^E^MM-^E.
Old post link: ... (5 Replies)
Discussion started by: ken002
5 Replies
LEARN ABOUT DEBIAN
text::bibtex::bibsort
Text::BibTeX::BibSort(3pm) User Contributed Perl Documentation Text::BibTeX::BibSort(3pm)NAME
Text::BibTeX::BibSort - generate sort keys for bibliographic entries
SYNOPSIS
# Assuming $entry comes from a database of the 'Bib' structure
# (i.e., that it's blessed into the BibEntry class, which inherits
# the sort_key method from BibSort):
$sort_key = $entry->sort_key;
DESCRIPTION
"Text::BibTeX::BibSort" is a base class of "Text::BibTeX::BibEntry" for generating sort keys from bibliography entries. It could in
principle (and, someday, might) offer a wide range of highly customizable sort-key generators. Currently, though, it provides only a
single method ("sort_key") for public use, and that method only pays attention to one structure option, "sortby".
METHODS
sort_key ()
Generates a sort key for a single bibliographic entry. Assumes this entry conforms to the "Bib" database structure. The nature of
this sort key is controlled by the "sortby" option, which can be either "name" or "year". (The "namestyle" also has a role, in
determining how author/editor names are formatted for inclusion in the sort key.)
For by-name sorting (which is how BibTeX's standard styles work), the sort key consists of one of the "author", "editor",
"organization", or "key" fields (depending on the entry type and which fields are actually present), followed by the year and the
title. All fields are drastically simplified to produce the sort key: non-English letters are mercilessly anglicized, non-alphabetic
characters are stripped, and everything is forced to lowercase. (The first two steps are done by the "purify_string" routine; see
"Generic string-processing functions" in Text::BibTeX for a brief description, and the descripton of the C function
"bt_purify_string()" in bt_misc for all the gory details.)
SEE ALSO
Text::BibTeX::Structure, Text::BibTeX::Bib, Text::BibTeX::BibFormat
AUTHOR
Greg Ward <gward@python.net>
COPYRIGHT
Copyright (c) 1997-2000 by Gregory P. Ward. All rights reserved. This file is part of the Text::BibTeX library. This library is free
software; you may redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-06-02 Text::BibTeX::BibSort(3pm)