Search Results

Search: Posts Made By: sreenath1037
1,527
Posted By sreenath1037
Thanks buddy ., its working ...this is what i was...
Thanks buddy ., its working ...this is what i was looking for...
1,527
Posted By sreenath1037
converting spaces input file from one of the backup commands into CSV format file
INput file attached in thread : Column widths at 24,73,82,87,121 characters (sed 's/./,/24;s/./,/73;s/./,/81;s/./,/87;s/./,/121;s/ *, */,/g' fixedinputfile >output.csv
). The client wants instead of...
5,646
Posted By sreenath1037
input file attached
input file attached
5,646
Posted By sreenath1037
INput file is already in this thread provided...
INput file is already in this thread provided firstly ., again iam providingthe input file..request your help on this

Input file (each line is separaed by spaces )given below:



Code:...
5,646
Posted By sreenath1037
Thanks buddy...it works ..One more question is...
Thanks buddy...it works ..One more question is Since you have hard-coded the column widths at 24,73,82,87,121 characters (sed 's/./,/24;s/./,/73;s/./,/81;s/./,/87;s/./,/121;s/ *, */,/g'...
5,646
Posted By sreenath1037
thanks it works ... is it possible to do a...
thanks it works ...

is it possible to do a error check if more than 5 commas in every line then throw a .err (example) or some error.
1,089
Posted By sreenath1037
Thanks .. i also need a shell script if to...
Thanks ..

i also need a shell script if to get "CSV separated Input file" from output file (spaces separated) as given ...I mean reverse one..including 5 comma's in every line as given in CSV...
5,768
Posted By sreenath1037
shell script to remove extra commas from CSV outp file
Name,,,,,,,,,,,,,,,,,,,,Domain,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Contact,Phone,Email,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Location...
5,646
Posted By sreenath1037
Input file pasted above : First field...
Input file pasted above :

First field (Name)=23 characters
second field(Domain) =60
Third field(contatc) =0
fourth field (Phone)=0
fifth field (Email)= 36
Sixth field =not needed as it is...
5,646
Posted By sreenath1037
its not working ..The input file is pasted with...
its not working ..The input file is pasted with sapces and i need output file in CSV format.
egrep -v '^$|^#' inputfile.txt | tr ' ' ',' >outputfile.csv is working but all spaces are replaced by...
5,646
Posted By sreenath1037
Output file in CSV format below(each line should...
Output file in CSV format below(each line should have 5 commas ., if more than 5 commas then shell script should thrown error..please help wit the code):

Name,Domain,Contact,Phone,Email,Location...
5,646
Posted By sreenath1037
Conversion of spaces Text file into CSV format file
Input file (each line is separaed by spaces )given below:

Name Domain Contact Phone Email Location...
4,418
Posted By sreenath1037
Hi Thanks for your reply ...Its working...
Hi

Thanks for your reply ...Its working But Client also needs



{It also might be worth running an error check for the number of "commas" in each line of the created csv file.
There...
4,418
Posted By sreenath1037
The File is spaces separated :Example for first...
The File is spaces separated :Example for first three rows.,

Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------...
4,418
Posted By sreenath1037
Conversion of below Tabs Tex file into CSV format file : shell script needed
Request if some one could provide me shell script that converts the below "input file" to "CSV format file" given

Name Domain Contact Phone Email Location
-----------------------...
1,089
Posted By sreenath1037
Hi The above code is working., could you...
Hi

The above code is working., could you please help with code for above "output file" conversion to CSV Format..

Request you to please add other columns in above awk script as when iam...
1,089
Posted By sreenath1037
Help with Shell script
My Mgr wants below input text file to give output as CSV file using shell script :input file ( Comma is the...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 06:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy