How to remove blank spaces from data?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the job parameters?

703


On which Dimension Table you implemented SCD Type in your Project

1575


What is oci?

850


What are iconv and oconv?

771


Define ds designer?

766






Name the different types of Lookups in Datastage?

726


How many types of sorting methods are available in datastage?

629


Define Job control?

675


How do u convert the columns to rows in datastage?

690


I/p : F1 table have A,B,C,D,E and F2 table having C,E,V i need output 0utput1: ABD output2: V any one suggest me this

545


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?

2052


Why do you need stage variables?

658


What are the different options associated with dsjob command?

933


how to achieve this output ? Two Input columns(ID & Name) - ID | Name 1 | Jack 1 | Kara In output there should be only 1 column which will be populated as - 1,Jack 1,Kara

359


8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?

1780