|
View previous topic :: View next topic
|
| Author |
Message |
Nitin32
New User
Joined: 31 May 2017 Posts: 3 Location: India
|
|
|
|
| I have a input file which has junk values I need to replace that junk value with hyphen(not spaces) using sort. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10902 Location: italy
|
|
|
|
search the forum, the question has been asked and replied too many times
( ALTSEQ and/or FINDREP are the buzzwords ) |
|
| Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3109 Location: NYC,USA
|
|
|
|
| Quote: |
| I need to replace junk with hyphen in a file using sort |
How could that be anyone's signature ?
You need to define "junk" to get more help but you have already got the buzzwords. |
|
| Back to top |
|
 |
sergeyken
Senior Member

Joined: 29 Apr 2008 Posts: 2283 Location: USA
|
|
|
|
| Nitin32 wrote: |
| I have a input file which has junk values I need to replace that junk value with hyphen(not spaces) using sort. |
You need to define "junk"
Otherwise
| Quote: |
From Wikipedia, the free encyclopedia
Junk generally refers to:- Scrap, recyclable waste used to build and maintain things
Junk may also refer to:- Junk, Melon (cetacean) of the sperm whale
- Junk, salt-cured meat
- Junk, a common street slang for heroin
- Junk (ship), a type of Chinese sailing vessel
- Junk status, debt credit rating
- Genitalia
|
|
|
| Back to top |
|
 |
Nitin32
New User
Joined: 31 May 2017 Posts: 3 Location: India
|
|
|
|
| X'CA' is the junk value |
|
| Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3109 Location: NYC,USA
|
|
| Back to top |
|
 |
sergeyken
Senior Member

Joined: 29 Apr 2008 Posts: 2283 Location: USA
|
|
|
|
| Nitin32 wrote: |
| X'CA' is the junk value |
Do you need to replace all X'CA' with dashes?
That's it? |
|
| Back to top |
|
 |
Nitin32
New User
Joined: 31 May 2017 Posts: 3 Location: India
|
|
|
|
| Yes |
|
| Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
| so replace x'ca' with x'60' |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10902 Location: italy
|
|
|
|
the TS wants a ready to run solution without doing any effort himself  |
|
| Back to top |
|
 |
Akatsukami
Global Moderator

Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
| enrico-sorichetti wrote: |
the TS wants a ready to run solution without doing any effort himself  |
But how much will he pay for it?  |
|
| Back to top |
|
 |
|
|