• 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!

An Interview with the Indians

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #41
    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".
    Best Forum Advisor 2014
    Work in the public sector? You can read my FAQ here
    Click here to get 15% off your first year's IPSE membership

    Comment


      #42
      Originally posted by scotspine View Post
      ah, a mac person. how quaint

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

      Comment


        #43
        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.

        Comment


          #44
          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?
          The proud owner of 125 Xeno Geek Points

          Comment


            #45
            Originally posted by scotspine View Post
            ??????
            See new thread.

            Comment


              #46
              We'll have to wait 366 days - he's gone silent hasn't he?
              Bazza gets caught
              Socrates - "The only true wisdom is in knowing you know nothing."

              CUK University Challenge Champions 2010

              Comment


                #47
                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..
                The proud owner of 125 Xeno Geek Points

                Comment


                  #48
                  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?
                  Behold the warranty -- the bold print giveth and the fine print taketh away.

                  Comment


                    #49
                    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

                    Comment


                      #50
                      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
                      Behold the warranty -- the bold print giveth and the fine print taketh away.

                      Comment

                      Working...
                      X