4 posts in this topic

Greetings friends,

 

I posted the following message a few other places online, but I wanted to post it here as well, just in case someone here can assist me.


Recently, I have been discovering some very cool command line ASCII and ANSI tools, such as jp2a, imagemagick, libcaca and toilet.

Unless you are into ASCII and ANSI graphics, and are involved in running a BBS, these little programs will probably be of little interest to you.

However, if you are knowledgeable of such things, right now I am having a problem figuring out how to export an ANSI graphic from toilet to a text file on my hard drive. I can't figure out if the file is even being created, and if so, where it is being exported to on my hard drive. According to one Debian user on the mewbies.com website, the graphic should be exported to the "working directory", which in the case of a Mac OS X user, I assume means the Home folder. However, I see nothing being created there.

If you are familiar with toilet, please let me know. I have looked at the man page, but while it briefly discusses the --export parameter, it does not specifically say where the graphic is exported to on an OS X machine.

Thanks so much!

 

0

Share this post


Link to post
Share on other sites

Does toilet print its output to the terminal, like figlet? If so, you can redirect the output to a textfile one of several ways:

 

`toilet -your -options here > output.txt` will create a new file called output.txt with all of the CLI output (overwrites output.txt if it exists)

`toilet -your -options here >> output.txt` will append output.txt, or create if it doesn't exist

`toilet -your -options here | tee output.txt` will append output.txt, but also print to the terminal too

 

Note that shell redirection works on most command line tools that output to the console. You may have to redirect STDERR instead of STDOUT for some things, or combine them (e.g. wget). In general, command line tools in a *NIX environment are meant to talk to each other via text streams, piped ( the | symbol ) or redirected ( >, >>, < ) between commands.

 

There's a boatload of really nifty command line image tools for *NIX. I use imagemagick and its associated tools all the time, either directly or through libraries for other programming languages.

0

Share this post


Link to post
Share on other sites

To the people asking about badak slot freebet baru, asiabetking lc, 777 slot bintang apk, I highly suggest this baru situs slot situs or paris slot88, slot kasino online nyata usa, cara bermain mesin slot 88 fortune, slot online terbaik sultan, slot demo gratis bermain pragmatis tanpa deposit, and don't forget this hebat judi online blog and don't forget login slot asia88bet, kabin ekonomi premium ba 777, daftar sbobet88, slot kd 7777, kasino online tanpa kode bonus deposit 2020 usa, on top of this lihat judi slot terpercaya forum which is also great. Also have a look at this peringkat tertinggi situs slot forum not to mention slot sogo 777, kasino online usa terbaik tanpa bonus deposit 2021, demo slot pragmatis rupiah indonesia, bonus pendaftaran kasino online gratis, tidak perlu setoran, uang sungguhan, permainan slot online gratis berputar, as well as this terbaik bandar slot domain alongside all login slot paris, daftar slot bintang77, permainan slot online inggris, mesin slot 77777 gratis, kelas premium ekonomi air france boeing 777-200, on top of keren situs slot terpercaya toko which is also worth a look. I also recommend this baru judi online toko not to mention permainan slot online tanpa taruhan, situs 396 slot, asiabet118 penipu, slot demo pragmatis bonanza gold, slot badak 4d, on top of this keren situs slot halaman not to mention apa slot terbaik untuk dimainkan di vegas, versaille slottet paris, premium77 bola, slot permainan badak, kasino terbaik tanpa kode bonus deposit 2020, alongside all luar biasa bandar slot forum which is also great. Finally, have a look at this terbaik judi slot online toko and badak slot freebet baru, slot bintang88, link demo slot pragmatis rupiah, for good measure. See more Berguna Slot Online Toko ed1f0d3

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now