Tagged Questions
0
votes
1answer
127 views
what is the best way to convert CRLF to LF and the viceversa for C++ files in my project [duplicate]
Possible Duplicate:
How to bulk convert all the file in a file system branch between Unix and Windows line break format?
which is the best tool to convert the CRLF to LF for my project in ...
2
votes
1answer
161 views
XML text file with `^@` characters in it?
I have an XML file that I need to parse. When I open it in nano, nano give me the message (converted from Mac format). However between each character, there is a ^@ sequence, like so:
^@t^@h^@e^@ ...
0
votes
1answer
554 views
Convert text to image in centos from bash
I want to create an image [jpg, png, doesn't matter] from shell but I don't have convert command. The image is very simple - white background with a medium-size black text in the middle. Is it ...
5
votes
5answers
7k views
How to convert TXT to PDF?
I want to convert .txt files to .pdf. I'm using this:
ls | while read ONELINE; do convert -density 400 "$ONELINE" "$(echo "$ONELINE" | sed 's/.txt/.pdf/g')"; done
But this produces one "error" -- ...