The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
Removing spaces... lost UNIX for Dummies Questions & Answers 2 10-06-2008 06:46 PM
removing spaces sahithi_khushi Shell Programming and Scripting 2 11-03-2006 11:20 AM
Removing spaces at particular position superprogrammer Shell Programming and Scripting 7 07-10-2006 06:29 AM
removing spaces after sperator vishnu_vaka Shell Programming and Scripting 6 03-24-2006 10:17 AM
Removing spaces between records thanuman UNIX for Dummies Questions & Answers 6 11-17-2005 01:01 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-18-2009
ippy98 ippy98 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 28
Removing spaces from string

I want a user to be able to paste in a string like "01 3F 20 1F" and have the script reformat it to "013F201F" to pass it on to the next step.

I was trying to figure it out with awk but wasnt working well.


Never mind, found answer. did not know about tr

Last edited by ippy98; 03-18-2009 at 06:46 AM.. Reason: found answer
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0