Sponsored Content
Full Discussion: Remove Extra Delimiter
Top Forums UNIX for Dummies Questions & Answers Remove Extra Delimiter Post 302796201 by hanson44 on Friday 19th of April 2013 03:55:41 AM
Old 04-19-2013
Well, for example the third row:
Code:
dsas|dss|sss|sss|ddd|dssd|rrr|fddf|

You indicate you want to change it to:
Code:
dsas|dss|ssssss|ddd|dssdrrr|fddf|

Here's what happened:
Code:
dsas -> dsas
dss -> dss
sss and sss -> ssssss
ddd -> ddd
dssd and rrr -> dssdrrr
fddf -> fddf

What's the logic to decide which columns to combine? For example, why are dssd and rrr combined, instead of rrr and fddf?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

remove extra lines in the file

Hi, I have some files, with some extra lines in weird characters on the top and bottom of the. I want to get rid of those line. Is there a way I can do that? example of the input file. I want to get rid of those lines in bold  ... (8 Replies)
Discussion started by: CamTu
8 Replies

2. UNIX for Dummies Questions & Answers

To remove the extra spaces in unix

Hi... I am quite new to Unix and would like an issue to be resolved. I have a file in the format below; 4,Reclaim,ECXTEST02,abc123,Harry Potter,5432 6730 0327 5469,0603,,MC,,1200,EUR,sho-001,,1,,,abc123,1223 I would like my output to be as follows; 4,Reclaim,ECXTEST02,abc123,Harry... (4 Replies)
Discussion started by: Sho
4 Replies

3. Shell Programming and Scripting

Remove extra spaces in a line

Hi, I need a help in deleting extra spaces in a text. I have a huge file, a part of it is :- 3 09/21/08 03:32:07 started undef mino Oracle nmx004.wwdc.numonyx.com Message Text : The Oracle session with the PID 1103 has a CPU time ... (6 Replies)
Discussion started by: vikas027
6 Replies

4. Shell Programming and Scripting

remove extra spaces between fields

Hi, I have a source file as mentioned below: I want to remove all the extra spaces between the fields. a b--------|sa df-------|3232---|3 sf sa------|afs sdf-----|43-----|33 a b c------|adfsa dsf---|23-32|23 *Here '-' idicates spaces Now, I want output as below: a b|sa df|3232|3... (7 Replies)
Discussion started by: srilaxmi
7 Replies

5. Shell Programming and Scripting

How to remove extra spaces from a string??

Hi, I have a string like this and i want to remove extra spaces that exists between the words. Here is the sentence. $string="The small DNA genome of hepadnaviruses is replicated by reverse transcription via an RNA intermediate. This RNA "pregenome" contains ... (2 Replies)
Discussion started by: vanitham
2 Replies

6. Shell Programming and Scripting

Remove extra character

Hi I am using cat <filename> command in one of my datastage job(Command Activity). It is giving actual value but giving extra line. Eg: Displayed Output: 1 and showing extraline(Eg: 1 ) I had checked even wc -c it is giving one character extra. If the file contains 11. wc -c says 3. ... (3 Replies)
Discussion started by: cnrj
3 Replies

7. UNIX for Dummies Questions & Answers

how to remove extra characters

Guys, I have a file that contains entries like this: LaxOrdID=19220288<8> LaxOrdID=19220288 I would like to remove <> and the values inside it anywhere its found. How? (2 Replies)
Discussion started by: DallasT
2 Replies

8. Shell Programming and Scripting

Remove of extra spaces from the trailing

HI, I need the help from the experts like I have created one file with text like: a b c d e f g h i j k l So my question is that i have to write the script in which like in the first sentence it will take only one space after d and remove all the extra space in the end.I dont... (8 Replies)
Discussion started by: bhanudhingra
8 Replies

9. Shell Programming and Scripting

Extra Space in output - remove

Hi All I am trying to perform the below operation -count=`cat abc.txt | wc -l` echo$count 5 Head=Start"$DATE"00000"$count"File echo $HEAD START15020300000 5File There is a space coming before 5 which is not needed . How to ignore that . (4 Replies)
Discussion started by: honey26
4 Replies

10. UNIX for Beginners Questions & Answers

File Containing Extra delimiter should be removed

The input file is this: a|b|c|d x|y|z|n||||||||| p|q|r|s||| g|h|i| w|e|r|| Now as per requirement , each row should have only 3 delimiter. Now the 2nd row & last row has an extra delimiter, How to remove that ? In some large file having 100K data , there can be 100 such rows having... (4 Replies)
Discussion started by: ikdKunal
4 Replies
DACS_MEX(8)						     DACS Web Services Manual						       DACS_MEX(8)

NAME
dacs_mex - WS-MetadataExchange responder for Information Cards SYNOPSIS
dacs_mex [dacsoptions[1]] DESCRIPTION
This program is part of the DACS suite. The dacs_mex web service is the WS-MetadataExchange responder for DACS's managed Information Cards. Refer to dacs_infocard(8)[2] and dacs_managed_infocard(8)[3] for additional information. OPTIONS
Web Service Arguments dacs_mex understands the following CGI arguments: AUTHTYPE This argument identifies the authentication credential type required by the IP/STS. The following values are understood: o PASSWD The UsernamePasswordCredential authentication credential type is required. o CERT The X509V3Credential authentication credential type is required. o CARD The SelfIssuedCredential authentication credential type is required. DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. BUGS
As this is a relatively new and complicated feature, please test carefully. SEE ALSO
dacsinfocard(1)[4], dacs.conf(5)[5], dacs_authenticate(8)[6], dacs_sts(8)[7], Using InfoCards With DACS[8] AUTHOR
Distributed Systems Software (www.dss.ca[9]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[10] file that accompanies the distribution for licensing information. NOTES
1. dacsoptions http://dacs.dss.ca/man/dacs.1.html#dacsoptions 2. dacs_infocard(8) http://dacs.dss.ca/man/dacs_infocard.8.html 3. dacs_managed_infocard(8) http://dacs.dss.ca/man/dacs_managed_infocard.8.html 4. dacsinfocard(1) http://dacs.dss.ca/man/dacsinfocard.1.html 5. dacs.conf(5) http://dacs.dss.ca/man/dacs.conf.5.html 6. dacs_authenticate(8) http://dacs.dss.ca/man/dacs_authenticate.8.html 7. dacs_sts(8) http://dacs.dss.ca/man/dacs_sts.8.html 8. Using InfoCards With DACS http://dacs.dss.ca/man/using-infocards-with-dacs.html 9. www.dss.ca http://www.dss.ca 10. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACS_MEX(8)
All times are GMT -4. The time now is 11:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy