Sponsored Content
Full Discussion: Hello World!
The Lounge What is on Your Mind? Hello World! Post 302954207 by sea on Saturday 5th of September 2015 01:28:40 PM
Old 09-05-2015
Code:
eval \
	echo \
	$(printf \
	"$(printf \
	'\134\061\061\060\134\061\064\065\134\061\065\064\134\061\065\064\134\061\065\067\134\060\064\060\134\060\064\064\134\061\062\065\134\061\062\063\134\061\060\065\134\061\062\062'\
	)")

edited: for no horizontal scroll bar at 1920x1080.
info: this is considred bad coding, mainly but not only due to the eval Smilie

Last edited by sea; 09-05-2015 at 02:33 PM.. Reason: changed code
This User Gave Thanks to sea For This Post:
 

7 More Discussions You Might Find Interesting

1. Solaris

hello world

just wanted to give salutations to all in here. i hope to contribute as much as i take. happy "unix-ing" :b: (0 Replies)
Discussion started by: JeepResQ
0 Replies

2. What is on Your Mind?

What The World Needs Now...

What does the world need now.... ??? Feel free to suggest new items to the poll .... we might add them :) (25 Replies)
Discussion started by: Neo
25 Replies

3. UNIX for Dummies Questions & Answers

What in the world does $$ mean?

If I type "echo $$" in to the command line it outputs some random number but it outputs the same one every time. What is this? (7 Replies)
Discussion started by: weexpectedthis
7 Replies

4. Programming

Almost -> Hello World!

Hello! I know I must take the efforts of learning C..! I need to recompile a binary with the following at the beginning: test if a file exists, remove it and exit. All in "C". As simple as this in sh: file=/tmp/filename if ; then rm -f $file exit 0 fi Thanks! (8 Replies)
Discussion started by: teresaejunior
8 Replies

5. What is on Your Mind?

How Will the World End?

How will the world end (someday long into the future, we hope)? (68 Replies)
Discussion started by: Neo
68 Replies

6. Programming

Exact meaning of the "world" in "hello world"

Hello! I have a question to native English-speaking people. In the popular program's "hello world" greeting, what meaning the "world" has: "all", "everybody", "people", "friends" or "whole world", "planet", "Earth", "Universe"? In other words, to whom this greeting is addressed: to the... (14 Replies)
Discussion started by: Eugene Muzychen
14 Replies

7. What is on Your Mind?

Mad World Remix of Moby Video (Are You Lost In The World Like Me)

This is an excellent video comment on modern society and the remix is good too: https://www.youtube.com/watch?v=5DU1B_XkyIk 5DU1B_XkyIk Watch the video above and post your comments. (3 Replies)
Discussion started by: Neo
3 Replies
Jifty::I18N(3pm)					User Contributed Perl Documentation					  Jifty::I18N(3pm)

NAME
Jifty::I18N - Internationalization framework for Jifty SYNOPSIS
# Whenever you need an internationalized string: print _('Hello, %1!', 'World'); In your Mason templates: <% _('Hello, %1!', 'World') %> METHODS
"_" This module provides a method named "_", which allows you to quickly and easily include localized strings in your application. The first argument is the string to be translated. If that string contains placeholders, the remaining arguments are used to replace the placeholders. The placeholders in the form of "%1" where the number is the number of the argument used to replace it: _('Welcome %1 to the %2', 'Bob', 'World'); This example would return the string "Welcome Bob to the World" if no translation is being performed. new Set up Jifty's internationalization for your application. This pulls in Jifty's PO files, your PO files and then exports the _ function into the wider world. install_global_loc available_languages Return an array of available languages _get_file_patterns Get list of patterns for all PO files in the project. (Paths are gotten from the configuration variables and plugins). get_language_handle Get the language handle for this request. get_current_language Get the current language for this request, formatted as a Locale::Maketext subclass string (i.e., "zh_tw" instead of "zh-TW"). refresh Used by Jifty::Handler in DevelMode to reload .po files whenever they are modified on disk. promote_encoding STRING [CONTENT-TYPE] Return STRING promoted to our best-guess of an appropriate encoding. STRING should not have the UTF-8 flag set when passed in. Optionally, you can pass a MIME content-type string as a second argument. If it contains a charset= parameter, we will use that encoding. Failing that, we use Encode::Guess to guess between UTF-8 and iso-latin-1. If that fails, and the string validates as UTF-8, we assume that. Finally, we fall back on returning the string as is. maybe_decode_utf8 STRING Attempt to decode STRING as UTF-8. If STRING is not valid UTF-8, or already contains wide characters, return it undecoded. N.B: In an ideal world, we wouldn't need this function, since we would know whether any given piece of input is UTF-8. However, the world is not ideal. perl v5.14.2 2010-09-25 Jifty::I18N(3pm)
All times are GMT -4. The time now is 06:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy