Hi all,
I have a file with single white space delimited values, I want to convert them to a tab delimited file.
I tried sed, tr ... but nothing is working.
Thanks,
Rajeevan D (16 Replies)
i have a file whose data is like this::
osr_pe_assign|-120|wg000d@att.com|4|
osr_evt|-21|wg000d@att.com|4|
pe_avail|-21|wg000d@att.com|4|
osr_svt|-11|wg000d@att.com|4|
pe_mop|-13|wg000d@att.com|4|
instar_ready|-35|wg000d@att.com|4|
nsdnet_ready|-90|wg000d@att.com|4|... (6 Replies)
Hi All,
I have space delimited file similar to the one as shown below.. I need to convert it as a pipe delimited, the values inside the pipe delimited file should be as highlighted...
AA ATIU2345098809 009697 005374
BB ATIU2345097809 005445 006518
CC ATIU9685098809 003215 003571
DD... (7 Replies)
I have a file which was pipe delimited, I need to make it tab delimited. I tried with sed but no use
cat file | sed 's/|//t/g'
The above command substituted "/t" not tab in the place of pipe.
Sample file:
abc|123|2012-01-30|2012-04-28|xyz
have to convert to:
abc 123... (6 Replies)
Hello folks, I have another doozy. I have two files. The first file has four fields in it. These four fields map to different locations in my second file. What I want to do is read the master file (file 2 - 23 fields) and compare each line against each record in file 1. If I get a match in all four... (4 Replies)
Hi All,
I need a unix script to convert .csv files to .skv files (changing a comma delimited file to a semi colon delimited file). I am a unix newbie and so don't know where to start. The script will be scheduled using cron and needs to convert each .csv file in a particular folder to a .skv... (4 Replies)
Hi How to make tab delimited file to space delimited?
in put file:
ABC kgy
jkh ghj
ash kjl
o/p file:
ABC kgy
jkh ghj
ash kjl
Use code tags, thanks. (1 Reply)
Hi, I have a rquirement in unix as below .
I have a text file with me seperated by | symbol and i need to generate a excel file through unix commands/script so that each value will go to each column.
ex:
Input Text file:
1|A|apple
2|B|bottle
excel file to be generated as output as... (9 Replies)
Hi,
I am wanting to create a script that will construct a SQL statement based on a a space delimited string that it read from a config file.
Example of the SQL will be
For example, it will read a string like "AAA BBB CCC" and assign to a variable named IN_STRING.
I then concatenate... (2 Replies)
Discussion started by: newbie_01
2 Replies
LEARN ABOUT OSX
pstopdf
pstopdf(1) BSD General Commands Manual pstopdf(1)NAME
pstopdf -- convert PostScript input into a PDF document.
SYNOPSIS
pstopdf [inputfile] [-o outname] [-l] [-p] [-i]
DESCRIPTION
pstopdf is a tool to convert PostScript input data into a PDF document. The input data may come from a file or may be read from stdin. The
PDF document is always written to a file. The name of the output PDF file is derived from the name of the input file or may be explicitly
named using the -o option.
Flags:
-o outname
The name of the output file to create. If an explicit file name is not supplied, the output file will be created in the current
directory and named foo.pdf for an input file named foo.ps
-i Reads from stdin rather than a named input file. If the output file is not explicitly named and the input data comes from stdin the
named output file will be stdin.pdf
-l Specifies that any messages generated during file conversion be written to a log file. For an output file named foo.pdf the generated
log file is foo.pdf.log rather than generated to stdout. If there are no messages, the log file is not generated.
-p Generates a simple progress message to stdout at the end of each page. Because conversion of complex or lengthy PostScript input can
take time, it is sometimes useful to see that progress is being made. Progress messages are always written to stdout even when the -l
(log file) option is specified.
EXAMPLES
pstopdf inputfile.ps Creates a PDF file named inputfile.pdf from the PostScript data in the input file inputfile.ps
pstopdf -i -o outputfilename Creates a PDF file named outputfilename from the PostScript data read from stdin.
Apple Computer, Inc. June 2, 2019 Apple Computer, Inc.