![]() |
|
|
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 |
| how to append spaces(say 10 spaces) at the end of each line based on the length of th | prathima | UNIX for Dummies Questions & Answers | 17 | 01-28-2009 04:10 PM |
| replace space or spaces in a line of a file with a single : | NewSolarisAdmin | Shell Programming and Scripting | 5 | 01-27-2009 02:48 PM |
| Concatenating array of strings into one string separated by spaces | newhere | High Level Programming | 12 | 01-20-2009 04:33 PM |
| ksh: Comparing strings that contain spaces and working with substrings | nancylt723 | Shell Programming and Scripting | 2 | 02-19-2008 03:01 PM |
| Append strings with filler spaces | handak9 | UNIX for Dummies Questions & Answers | 1 | 08-11-2005 11:51 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Replace spaces between strings in a line with tab
Hi All
I am having problem in substitution of any number of spaces, or a combination of space and tab in between strings in the lines of text file. Is there any way out in Perl? Please help me. e.g., Say the input is in the following format:- XX yyy zzz aaaaa bbbbb cccccc Expected output must be TAB separated strings. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|