• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "An Interview with the Indians"

Collapse

  • Sysman
    replied
    Originally posted by Sysman View Post
    Code:
    GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)
    Copyright (C) 2005 Free Software Foundation, Inc.
    
    echo $$
    3946
    Can anyone explain that?
    Ah, Thanks Dave.

    ps -ax |grep 3946
    3946 ttys000 0:00.07 -bash

    Leave a comment:


  • OrangeHopper
    replied
    Originally posted by Sysman View Post
    Code:
    GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)
    Copyright (C) 2005 Free Software Foundation, Inc.
    
    echo $$
    3946
    Can anyone explain that?
    On the Mac you get ...

    echo $$
    760

    Leave a comment:


  • Sysman
    replied
    Originally posted by thunderlizard View Post
    Code:
    Microsoft Windows [Version 6.0.6002]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
    
    c:\>echo $$
    $$
    ??
    Code:
    GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)
    Copyright (C) 2005 Free Software Foundation, Inc.
    
    echo $$
    3946
    Can anyone explain that?

    Leave a comment:


  • chef
    replied
    but.. but ... what about SKA? and lunch reports? and all that opinionated knowledge.. I truly hope he comes back soon and tells us his thoughts, life is just not the same without the squirrel loving ruskie around..

    Leave a comment:


  • cailin maith
    replied
    We'll have to wait 366 days - he's gone silent hasn't he?

    Leave a comment:


  • OrangeHopper
    replied
    Originally posted by scotspine View Post
    ??????
    See new thread.

    Leave a comment:


  • chef
    replied
    that's all well and good talking about apples and indians and cars and whatnot but what we really want, nay NEED to know, is what AtW has had for lunch and what s the latest SKA news?

    Leave a comment:


  • zeitghost
    replied
    Originally posted by DaveB View Post
    the ECHO command is the same between Windows and UNIX. It sends it's argument to the standard output. ( The command line usually ).

    The confusion here is with the way UNIX handles variables. To define a variable and send it to the standard output in unix you use

    > foo=bar
    > ECHO $foo
    > bar

    The trick with ECHO $$ is that Unix has a number of predetermined variables, set at shell and environment level that contain specific pieces of infomation.

    $ is the variable name used to identify the ID of the currently running process. So 'ECHO $$' will return the current value of $. Others include :
    • $1 - $9 these variables are the positional parameters.
    • $0 the name of the command currently being executed.
    • $# the number of positional arguments given to this
    • invocation of the shell.
    • $? the exit status of the last command executed is
    • given as a decimal string. When a command
    • completes successfully, it returns the exit status
    • of 0 (zero), otherwise it returns a non-zero exit
    • status.
    • $$ the process number of this shell - useful for
    • including in filenames, to make them unique.
    • $! the process id of the last command run in
    • the background.
    • $- the current options supplied to this invocation
    • of the shell.
    • $* a string containing all the arguments to the
    • shell, starting at $1.
    • $@ same as above, except when quoted.


    It's all further complicated by the distinction between SHELL and ENVIRONMENT variables ( SHELL variables only apply to the current shell, ENVIRONMENT variables apply to all Shells ) and the fact that a single user can run multiple shells all with different variables defined, at the same time, and switch between them at will.
    I thank you.
    Originally posted by DaveB View Post
    Your turn now ZG. What is a NIXIE tube and why on earth would anyone eant to use them in a watch?

    A nixie tube is a long obsolete display technology invented in the 1950s.

    It uses neon gas at low pressure in a thing that looks like a valve to display the numbers 0 to 9.

    These are now rather popular for making clock displays. Probably because they're expensive.

    As to why you'd want two in your wrist watch, I'm afraid it's beyond me.

    Must take a lot of batteries to keep it going.

    Leave a comment:


  • scotspine
    replied
    Originally posted by scotspine View Post
    ah, a mac person. how quaint

    how was the hook-dipping this year oh?
    ??????

    Leave a comment:


  • TheFaQQer
    replied
    Originally posted by DaveB View Post
    I went and looked it up on Wikipedia. Was most dissapointed by the link to a "Split Flap Display".

    Leave a comment:


  • DaveB
    replied
    Originally posted by TheFaQQer View Post
    Don't know what one is, but the obvious two answers as to why use them as a watch are answered in the video:

    1) Because you're a big fat beardy geek.

    2) Because you like scaring Americans on planes who think you are going to blow it up.
    I went and looked it up on Wikipedia. Was most dissapointed by the link to a "Split Flap Display".

    Leave a comment:


  • TheFaQQer
    replied
    Originally posted by DaveB View Post
    What is a NIXIE tube and why on earth would anyone eant to use them in a watch?
    Don't know what one is, but the obvious two answers as to why use them as a watch are answered in the video:

    1) Because you're a big fat beardy geek.

    2) Because you like scaring Americans on planes who think you are going to blow it up.

    Leave a comment:


  • DaveB
    replied
    Originally posted by zeitghost
    WHS.

    Please be more explicit for the benefit of the Lizardly community.

    Thank you in anticipation.
    the ECHO command is the same between Windows and UNIX. It sends it's argument to the standard output. ( The command line usually ).

    The confusion here is with the way UNIX handles variables. To define a variable and send it to the standard output in unix you use

    > foo=bar
    > ECHO $foo
    > bar

    The trick with ECHO $$ is that Unix has a number of predetermined variables, set at shell and environment level that contain specific pieces of infomation.

    $ is the variable name used to identify the ID of the currently running process. So 'ECHO $$' will return the current value of $. Others include :
    • $1 - $9 these variables are the positional parameters.
    • $0 the name of the command currently being executed.
    • $# the number of positional arguments given to this
    • invocation of the shell.
    • $? the exit status of the last command executed is
    • given as a decimal string. When a command
    • completes successfully, it returns the exit status
    • of 0 (zero), otherwise it returns a non-zero exit
    • status.
    • $$ the process number of this shell - useful for
    • including in filenames, to make them unique.
    • $! the process id of the last command run in
    • the background.
    • $- the current options supplied to this invocation
    • of the shell.
    • $* a string containing all the arguments to the
    • shell, starting at $1.
    • $@ same as above, except when quoted.


    It's all further complicated by the distinction between SHELL and ENVIRONMENT variables ( SHELL variables only apply to the current shell, ENVIRONMENT variables apply to all Shells ) and the fact that a single user can run multiple shells all with different variables defined, at the same time, and switch between them at will.

    Your turn now ZG. What is a NIXIE tube and why on earth would anyone eant to use them in a watch?

    Leave a comment:


  • TheFaQQer
    replied
    Originally posted by snaw View Post
    We're just waiting for ATW to join in and enlighten us all on where we've gone wrong. Then the thread will be complete and it eventually with fall of the precipice of page 1. Probably forever.
    AtW

    Leave a comment:


  • snaw
    replied
    Originally posted by Ruse View Post
    Is this what you call a double-hijack, the thread has been hijacked by the second hand car sellers and now by the great Apple debate !
    We're just waiting for ATW to join in and enlighten us all on where we've gone wrong. Then the thread will be complete and it eventually with fall of the precipice of page 1. Probably forever.

    Leave a comment:

Working...
X