![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parsing text from one line with shell scripts | th3g0bl1n | UNIX for Dummies Questions & Answers | 3 | 10-19-2007 05:49 AM |
| Converting UNIX scripts to DOS | Crozz | Windows & DOS: Issues & Discussions | 2 | 11-28-2006 11:33 AM |
| Converting a text file to a csv file | primowalker | Shell Programming and Scripting | 4 | 12-06-2005 05:02 PM |
| Plz Help To convert xml file to text file using bourn shell scripts | ram2s2001 | Shell Programming and Scripting | 0 | 11-09-2005 09:56 AM |
| Converting Unix text to windows | mchristisen | UNIX for Dummies Questions & Answers | 3 | 06-13-2005 09:57 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi everyone,
If someone out there could help me out with this problem. I would really appreciate it. I am trying to convert a file into xml format using Unix shell scripts. The file has fields with each field having a certain number of bytes, but the fields are not delimited by anything (e.g. whitespace). I need to get those fields into some sort of data structure so that I can use them to generate the XML using a simple for loop. The following is a an example of what I am looking at: Jack Johnson 90980288Harv 9090998 Joe Joie 8989 Sed 99488 I can't use whitespace as a delimiter. Thanks you guys very much, I really appreciate it. |
| Bookmarks |
| Tags |
| awk, awk trim, regex, regular expressions, trim, trim awk |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|