The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-14-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 709
Quote:
Originally Posted by aju_kup View Post
Code:
sed 's/ /-/g' 65258_space.d
Unless I'm missing some significance with the '65258_space.d' (whatever that is), that looks like it would replace every space with a -, producing the following file:
Code:
04--D--H---
03--C--G--K
02--B-----L
01--A--E--I
---01-02-03-04
?
Reply With Quote