Read csv file, convert the data and make one text file in UNIX shell scripting
I have input data looks like this which is a part of a csv file
I need to make the output data should look like this and the output data will be part of text file:
Hi....can you guys help me out in this script??
Below is a portion text file and it contains these:
GEF001 000093625 MKL002510 000001 000000 000000 000000 000000 000000 000001
GEF001 000093625 MKL003604 000001 000000 000000 000000 000000 000000 000001
GEF001 000093625 MKL005675 000001... (1 Reply)
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
I am having one text file and i need to read that data from my shell script.
I will expain you the scenario:
Script look like:
For name type 1:
For age type 2:
For Salary type3:
echo "Enter the input:"
read the data
if input is 1 then go to the Text file and print the... (2 Replies)
Friends...This is the first time i am trying the report generation using shell script... any suggestions are welcome.
Is there a way to set the font size & color when i am exporting the data from unix shell script as a CSV file ?
The following sample data is saved as a .csv file in the... (2 Replies)
I need to read data from a file called "test.csv" through shell script where the file contains values like name,price,descriptor etc. There are rows where descriptor (& in some rows name) are written as string & other characters like "car_+" OR "bike*" etc where it should contains strings like... (3 Replies)
Hi Friends,
I would like to read all the record from one txt file to other file txt
For example I have two txt file a.txt and b.txt. I need to read a.txt record by record and I need add the system date @ end of each record before moving it to b.txt. Could you please share the coding for... (4 Replies)
Hi ,
I have a simple text file with contents as below:
12345678900 971,76 4234560890
22345678900 5971,72 5234560990
32345678900 71,12 6234560190
the new csv-file should be like:
Column1;Column2;Column3;Column4;Column5
123456;78900;971,76;423456;0890... (9 Replies)
Hello friends,
I have a file as follows:
"empty line"
content1
content2
content3
content1
content2
content3
content1
content2
content3
It starts with an empty line,
how can i get a csv like this: (12 Replies)
hi I made this simple script to extract data and pretty much is a list and would like to extract data of two words separated by commas and I would like to make a new text file that would list these extracted data into a list and each in a new line.
Example that worked for me with text file... (5 Replies)
Discussion started by: dandaryll
5 Replies
LEARN ABOUT DEBIAN
fieldcomb
FIELDCOMB(1) General Commands Manual FIELDCOMB(1)NAME
fieldcomb - combine two or more field frames for video animation
SYNOPSIS
fieldcomb [ -e|-o ][ -r ] [ -f combined.hdr ] field0.hdr field1.hdr ..
DESCRIPTION
Fieldcomb combines two or more field frames into half as many final video frames for field-based animations. Normally, the even scanlines
in the output are given over to the first, third, fifth, etc. pictures given on the input, and the odd scanlines are given over to the sec-
ond, fourth, sixth, etc. pictures on the input. This behavior corresponds to the -e option, which is set by default. To reverse this
ordering, the -o option must be specified.
Normally, fieldcomb will name output frames by dividing the numbers on the input field file names by 2, inserting a 'C' right before the
number, adding leading zeroes to make it always four digits. For example, the command:
fieldcomb anim12.hdr anim13.hdr anim14.hdr anim15.hdr
will produce two output pictures:
animC0006.hdr & animC0007.hdr
If an odd number of input files is given on the command line, the last file is held over and used as the first file in the next invocation
of fieldcomb in the same directory. In this way, the program works well with the "TRANSFER" facility of ranimate(1), which does not guar-
antee an even number of frames will be passed every time.
If only two input files are given, the -f option may be used to specify a different output name of the user's choosing.
If the -r option is specified, then the input files will be removed once they have been combined.
AUTHOR
Greg Ward
ACKNOWLEDGEMENT
Work on this program was sponsored by Iebele Abel.
SEE ALSO getinfo(1), pcomb(1), pfilt(1), phisto(1), ran2tiff(1), ranimate(1), rpict(1)RADIANCE 9/6/2005 FIELDCOMB(1)