The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 10-09-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886

Code:
for arg; do
  if is_num $arg; then

   for num; do
     ....
   done

This looks like sh/ksh/bash scripting. The question is, what are "arg" and "num"?? is this in a shell function or is this found in the "main" part of the shell script?