How to remove blank spaces from data?

Answers were Sorted based on User's Feedback



How to remove blank spaces from data?..

Answer / vennapusa

sed 's/' '//g ' sample

Is This Answer Correct ?    4 Yes 0 No

How to remove blank spaces from data?..

Answer / shar

sed 's/' '//g ' sample
Or
Other way:(just in case)

In Transformer we can use function : CompactWhiteSpace(%string%)
Through which we can remove spaces.

Is This Answer Correct ?    3 Yes 0 No

How to remove blank spaces from data?..

Answer / bharath

By using the following command you can remove blank lines from unix file:

$ sed 's/ *//g' sample

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Data Stage Interview Questions

How can we achive parallelism

1 Answers   CTS,


How many types of stage?

0 Answers  


To see hidden files in LINIX?

0 Answers   CTS,


specify data stage strength?

1 Answers  


how many stages are there in Datastage... Please clarify mee??

3 Answers  






What is a range lookup?

2 Answers   IBM,


How many number of reject links merge stage can have?

7 Answers   TCS,


what is repositery?

0 Answers   IBM,


How to transfer file from one system to another system in UNIX?which command to be use?

4 Answers   Cap Gemini, TCS,


I am having two tables called MASTER and DETAIL. I want to insert records to both tables. But one condition is that whenever the insert for MASTER table is success then only the records will inserted into the DETAIL table, otherwise abort the job. How can u design this job?

1 Answers   TCS,


In my source i have 10 records but i want 11 records in target. How can i acheive this in Server jobs.

2 Answers   IBM,


How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?

0 Answers   Wipro,


Categories