Sponsored Content
Operating Systems SCO Printer is winning the battle! (for now) Post 302721793 by TheSniper on Thursday 25th of October 2012 07:58:36 PM
Old 10-25-2012
I was wondering why it worked while in BASH and not in the stock shell.
I dd some tests back and forth with and without the -e...

Q: if the add 0 case is the case. as in the proof? of it works..
how come all the OCTAL's dont get a the additional 0?
just the few?

Quote:
Originally Posted by jgt
Ahhh, the lp script runs as a Bourne shell, not bash.
The -e option is dropped, and the leading 0 is added to indicate that the numeric value is octal not decimal.
---------- Post updated at 07:58 PM ---------- Previous update was at 07:48 PM ----------

Is it as simple as any number (thats an octal) that doenst already start with a leading 0 zero, requires an additional 0 Zero? Kind of like an escape for an escape?
Because I noticed that the only ones that got the additional Zero were the ones that didn't
already start with one.. :?
 

2 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Winning Lotto...

I purchased a ticket for Lotto which was the drawing date on 03-15-10, and when i see it now to know who wins, there is no winner while the winner number is 363? So how is the drawing process?does it also consider the ticket number which is not purchased?:confused: (4 Replies)
Discussion started by: malcomex999
4 Replies

2. What is on Your Mind?

Alita Battle Angel - Happy Valentines Day

Just saw Alita Battle Angel with my Valentine and we really liked it. Hope many will go see it so they will make a sequel. https://www.unix.com/members/1-albums221-picture1089.jpg (0 Replies)
Discussion started by: Neo
0 Replies
Mouse::Util(3pm)					User Contributed Perl Documentation					  Mouse::Util(3pm)

NAME
Mouse::Util - Utilities for working with Mouse classes VERSION
This document describes Mouse version 0.99 SYNOPSIS
use Mouse::Util; # turns on strict and warnings DESCRIPTION
This module provides a set of utility functions. Many of these functions are intended for use in Mouse itself or MouseX modules, but some of them may be useful for use in your own code. IMPLEMENTATIONS FOR
Moose::Util functions The following functions are exportable. "find_meta($class_or_obj)" The same as "Mouse::Util::class_of()". "does_role($class_or_obj, $role_or_obj)" "resolve_metaclass_alias($category, $name, %options)" "apply_all_roles($applicant, @roles)" "english_listi(@items)" Class::MOP functions The following functions are not exportable. "Mouse::Util::is_class_loaded($classname) -> Bool" Returns whether $classname is actually loaded or not. It uses a heuristic which involves checking for the existence of $VERSION, @ISA, and any locally-defined method. "Mouse::Util::load_class($classname) -> ClassName" This will load a given $classname (or die if it is not loadable). This function can be used in place of tricks like "eval "use $module ()"" or using "require". "Mouse::Util::class_of($classname_or_object) -> MetaClass" "Mouse::Util::get_metaclass_by_name($classname) -> MetaClass" "Mouse::Util::get_all_metaclass_instances() -> (MetaClasses)" "Mouse::Util::get_all_metaclass_names() -> (ClassNames)" mro (or MRO::Compat) "get_linear_isa" Sub::Identify "get_code_info" Mouse specific utilities "not_supported" "get_code_package" "get_code_ref" SEE ALSO
Moose::Util Class::MOP Sub::Identify mro MRO::Compat perl v5.14.2 2012-06-30 Mouse::Util(3pm)
All times are GMT -4. The time now is 10:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy