Since 4/2/2012 5:33:14 AM, peifer has written 6 articles and participated in 18 conversations. peifer signature: peifer
peifer's articles:
Items(6) /1
Printing Unicode chars4333 (12/16/2007 3:05:18 PM) comp.lang.awk Hi, GAWK's printf has a %c format: > This prints a number as an ASCII character; > thus, `printf "%c", 65' outputs the letter `A'. I am looking for a somewhat similar format that would print a Unicode charact... Hermann
Extracting values from an HTML table834 (10/1/2007 5:22:26 PM) comp.lang.awk Hi All, Occasionally, I have to extract values from a long HTML table (see some sample lines below) and convert them into a more useful format. The HTML code looks like this: 1 1 ... Hermann
XMLgawk question about UNPARSED text388 (9/17/2007 9:47:00 AM) comp.lang.awk Hi All, The XMLgawk documentation says: "XMLUNPARSED indicates a text that did not fit into any other category." http://home.vrweb.de/~juergen.kahrs/gawk/XML/xmlgawk.html#Sorting-out-all-kinds-of-data-from-an-... Hermann
Matrix transposition problem13167 (11/24/2006 5:18:59 PM) comp.lang.awk Hi All, I have 1000s of data files with 1000s of lines each. Each line has a tab-separated data series corresponding to 1 month. The field logic of the lines is as follows: (...) There are always 31 va... Hermann
KMail 1.5.3 and Priority: Low023 (8/9/2003 11:00:51 AM) comp.windows.x.kde In the Menu bar, under Options, I can only find Priority = Urgent How can I flag an email with Priority = Low ? Regards, Hermann ... Hermann
tar: Error exit delayed from previous error325 (8/7/2006 4:26:32 PM) comp.unix.questions Hi, I am doing a tar -cvvf foo.tar foo/ on a Linux system, but I get the following error message tar: Error exit delayed from previous error Can anyone tell me what's (probably) going wrong, and maybe why? T... nhbfluci(87)
XML validation against XSD #2330 (11/16/2007 3:37:09 PM) comp.text.xml I'm sorry if this is a basic question but I'm a beginner with XML. I have developed XSDs for XMLs that my company is producing. We now want to have a system where the XMLs that are generated by our software are... rupanjana_ms(1)
How to convert number of seconds to format "17h23m24s" ?24199 (6/2/2008 6:22:48 PM) comp.unix.shell Let's say I have a variable $numsec which contains a number of seconds e.g. 62345 Now I want to convert this number into a more human readable form with hours, minutes and seconds e.g. 17h23m24s How can I do ... kmlincoln100
printing XML file with XSLT code128 (6/11/2008 7:10:01 PM) comp.text.xml Being a newbie with XSLT transformation code please excuse my neivte. In addition, I am not sure what I want to do can be done with xslt so I apologize up front for asking anything stupid I have a shell scrip... beefstu350(68)
How to display "7" as left "0" padded 4 char wide field: "0007" ?348 (6/17/2008 6:09:35 AM) comp.unix.shell In a shell script I want to echo out some values whcih are not necessarily as wide as they should be. For example a value of 7 should be display as a field of width 4 with left padded zeros "0": 0007 How can... garywill
concatenate file automatically1029 (6/24/2008 9:10:28 AM) comp.os.linux.misc Under the same directory, there are a lot of files names in this system: 3-character-prefix+anything How can I read the 2nd line of the contents and concatenate them automatically? e.g. M01ABC content: De... ela(141)
print a certain line counted from the end of an output stream25140 (8/15/2008 9:15:43 PM) comp.lang.awk Oftentimes I need to print, say, the 4th line from the end of an output stream. I've been using constructs of the sort cat file | tail -4 | head -1 Is there a more elegant tool / approach (sed/awk/head/tail ... Rahul
Convert xml to xls?234 (10/21/2008 1:16:49 PM) comp.text.xml Hi all, does anyone know about an open-source tool or method that can convert a certain xml file to a spreadsheet (e.g. xls)? Can one import xml data in the OpenOffice program Calc? The problem is that the ori... Jie.Bao(10)
Data analysis of large collection of XML files1323 (11/23/2008 10:10:10 AM) comp.text.xml Dear all, I have a large collection of about 50 million xml files. I would like to do some basic statistic about the data. For instance, what is the average value of the tag , discover the co-occurence of some... Sengly.Heng(16)