![]() |
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 |
| Replace spaces between strings in a line with tab | my_Perl | Shell Programming and Scripting | 1 | 07-20-2009 03:37 PM |
| Replace multiple dots (.) with spaces ( ) | Monkey Dean | Shell Programming and Scripting | 6 | 05-03-2009 04:18 AM |
| Replace spaces | tret | Shell Programming and Scripting | 12 | 10-07-2008 12:11 AM |
| Remove spaces between charc and replace it with ','. | smc3 | Shell Programming and Scripting | 5 | 06-10-2008 01:08 PM |
| Replace spaces recursively | prvnrk | Shell Programming and Scripting | 5 | 08-31-2007 05:37 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
i have a file like::
$ cat space asd fghj itkg now i want to replace the next line with . and thn this . with the 100 spaces. cat space | tr '\n' '.', it woked for me, to replce the new line to . Now i want to replace this . with 100 spaces. Thanks in advance. |
|
||||
|
Thanks tyler_durden, it worked
![]() Now there is one more issue, in some lines i have 10 charactes & in some there are 20chars. no. of spaces should be 200 - number of character in a line. if No. of chars are 20 thn there should be 180 spaces. please help me on this also. Thanks in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|