Sponsored Content
Full Discussion: shift command
Top Forums Shell Programming and Scripting shift command Post 24881 by Nisha on Friday 19th of July 2002 05:54:32 AM
Old 07-19-2002
Hey Thanks!!!

Sounds like a good one..

Thanks,
Nisha
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

shift command

There is an error when i am trying to use the shift command in this way: ($1 = -d, $2 = 123, $3 = -c etc etc) for $arg in $@ do case $arg in "-d") shift; (so that the $2 will become the $arg now) (and while it loop the 2nd time,) ... (1 Reply)
Discussion started by: AkumaTay
1 Replies

2. UNIX for Dummies Questions & Answers

xterm SHIFT crazy

hi all, when I press SHIFT at once it work like as I've hold it (like CapsLock is On, but it Off) ! ... and if I press F1 (or another function key) it put out 24z :( it is occure on my remote sun 8 , xterm session help me please ! (2 Replies)
Discussion started by: oneivan
2 Replies

3. Shell Programming and Scripting

Regarding the shift command???

I am running a program where in I have this command which is giving error the shift: number is not correct. can you please tell me how shift actually works? the line which is giving error is- set $PARAM; shift; shift; shift; shift; shift; shift; shift; shift Is it related somewhere to... (2 Replies)
Discussion started by: shrao
2 Replies

4. UNIX for Dummies Questions & Answers

shift not working

Hi, I wrote one script, in between script needs to use 10th and 11th positional parameters, that time i used "shift". Here i am facing the below find problem, ./DataCount.sh: cannot shift I tried 1) I have read man pages for shift 2) Before but * and ** 3) Simple shift with out giving... (4 Replies)
Discussion started by: Nagapandi
4 Replies

5. Shell Programming and Scripting

AIX command to shift up

I would need the awk command or a better way to get my file that looks like 1234 5678 8912 3456 7890 to look like 1234,5678,8912,3456,7890 Thanks in advance (4 Replies)
Discussion started by: bombcan
4 Replies

6. UNIX for Dummies Questions & Answers

A Shift into UNIX

Hi, Firstly, I did a search for this question both on this site and on the internet and have not been able to find a suitable answer that is not general in nature. I have always been a Windows user. I use my girl friend's mac every now and then, but I always come back to windows. For a... (1 Reply)
Discussion started by: mearex
1 Replies

7. Shell Programming and Scripting

Use of Shift command

Hello Expert Can any one please explain what is the use of shift command in general terms: set -- $(ls -t) shift rm -Rf $* what is the use of shift command over here. Thanks a lot for your help (2 Replies)
Discussion started by: aks_1902
2 Replies

8. UNIX for Dummies Questions & Answers

can someone explain shift command in script?

think using shift would help me finish my script but cant get it work without your help. would appreciate if you give me a example with shift & counter in the same script so I can later work on that to my one. Thanks and Good Luck! (1 Reply)
Discussion started by: me.
1 Replies

9. Shell Programming and Scripting

AIX function example with "shift" command

Hello, I am reading one of the AIX manuals about shell scripting and (AIX 5) and I found this example when introducing to functions: function usage { prog="$1"; shift print -u2 "$prog: usage: $prog $@" exit 1 } This example is meant to be easy but I don't understand what it is... (5 Replies)
Discussion started by: Kibou
5 Replies

10. Shell Programming and Scripting

Shift command help

#!/bin/bash hostname=$1; shift for hostname in $1 do ping $hostname done I want to run the above script as hostname.sh yahoo.com google.com cnn.com. I want to shift each hostname to $1. How can do that with above code as currently it's not shifting. (5 Replies)
Discussion started by: scj2012
5 Replies
getting-started(7)						  Numm Tutorials						getting-started(7)

NAME
getting started - numm installation and usage SYNOPSIS
numm-run FILE import numm DESCRIPTION
numm is a python library -- the bastard child of Processing.org and MATLAB, if you will -- that fuses python, numpy, and gstreamer together to create a numerical-computing environment for multimedia generation, analysis, and interaction. Installation A Debian package is provided for ease of installation on Debian and derivative operating systems, such as Ubuntu; we recommend you abandon alternative systems and install Debian, but in the interim direct your attention to virtualization software such as VirtualBox. The following command downloads and installs numm: % wget http://numm.org/numm/releases/python-numm_0.1-1_all.deb % sudo dpkg -i python-numm_0.1-1_all.deb Usage At its simplest, numm provides three pairs of invertable functions that connect common media formats with numpy: Images represented as (height, width, color) numpy.uint8 arrays. o image2np(path) -> np o np2image(np, path) Sounds as (frames, channels) numpy.int16s o sound2np(path) -> np o np2sound(np, path) # XXX: must be .wav Videos as (frames, height, width, color) numpy.uint8s o video2np(path) -> np o np2video(np, path) # XXX: must be .mkv For rapid-prototyping of interactive numpy-based audio-visual experiments, the numm package has a real-time mode. The numm package installs a program named numm-run, which launches (and reloads on modification) python scripts that may implement any subset of the follow- ing functions, which are asynchronously called as needed: o video_in(a) # webcam o video_out(a) # mutate a in-place to set video o audio_in(a) # mic o audio_out(a) # mutate a for audio output o mouse_in(type, px, py, button) o keyboard_in(type, key) SEE ALSO
numm-run(1), numm.one-bit-instrument(7), numm.spectral-analysis(7) numm February 2012 getting-started(7)
All times are GMT -4. The time now is 10:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy