Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 15. október 2026

Rozdiely pre scripts/shell/ssh-utils/put medzi verziami 1.8 a 1.9

verzia 1.8, 2006/08/30 15:20:25 verzia 1.9, 2006/09/08 06:49:30
Riadok 19 
Riadok 19 
 #  #
   
 #  #
 # $Platon: scripts/shell/ssh-utils/put,v 1.7 2003/11/28 17:33:37 nepto Exp $  # $Platon: scripts/shell/ssh-utils/put,v 1.8 2006-08-30 15:20:25 rajo Exp $
 #  #
   
 user="${user:=$USER}";  default_user="${user:=$USER}";
   user='';
 machine='';  machine='';
   
 ssh_put()  ssh_put()
Riadok 42  if [ "$#" -lt 1 ]; then
Riadok 43  if [ "$#" -lt 1 ]; then
         exit 1;          exit 1;
 fi  fi
   
 #echo -en "username: ";  echo "Default username is '$default_user', press ENTER to use this.";
 #read user;  echo -en "Enter username: ";
 echo -en "hostname: ";  read user;
   
   if [ -z "$user" ]; then
           echo "No username specified, using default: $default_user";
           user="$default_user";
   fi
   
   echo -en "Enter hostname: ";
 read machine;  read machine;
   
 if [ -z "$user" ] || [ -z "$machine" ]; then  if [ -z "$machine" ]; then
         echo "No username or hostname specified.";          echo "No hostname specified.";
         exit 1;          exit 1;
 fi  fi
   

Legend:
Odstranené z verzie1.8  
zmenené riadky
  Pridané vo verzii1.9

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok