The UNIX and Linux Forums  


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




Thread: Concatenation
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 12-13-2004
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
$ x.sh "/apps/opt" "/informix"
/apps/opt/informix
$ x.sh "/apps/opt" "/informix"
$ export file1="informix"
$ x.sh "/apps/opt" "/$file1"
/apps/opt/informix
$ x.sh "/apps/opt" "$file1"
/apps/optinformix
$ x.sh "/apps/opt" "/$file1"
/apps/opt/informix
$ cat x.sh
#!/usr/bin/ksh

echo $1$2