UNIX for Advanced & Expert Users

Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

don't understand the unix script

👤 Login to reply

Thread Tools Search this Thread Display Modes
Old 11-17-2008
pochaman pochaman is offline
Registered User
Join Date: Nov 2008
Last Activity: 8 December 2008, 5:23 PM EST
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
don't understand the unix script

if {"$my_ext_type" = MAIN]; then
cd $v_sc_dir
Filex.SH $v_so_dir\/$v_fr_file
Can somebody tell me what does this suggest. I am pretty new to unix and
I am getting confused.
What i understood from here is
If we have a file extension name as MAIN
which we have then we change the directory to the path in
$v_sc_dir. And there we find the file Filex.SH [which we have].
Now comes the problem of my understanding. We have this path
$v_so_dir. But i dont know what this |[back slash means] can somebody tell me.
Also we have $v_fr_file -spool file. I am pretty confused. Please help me.
Sponsored Links
Old 11-17-2008
tsurko tsurko is offline
Registered User
Join Date: Jun 2007
Last Activity: 14 April 2011, 6:04 AM EDT
Location: Sofia, Bulgaria
Posts: 37
Thanks: 0
Thanked 1 Time in 1 Post
In bash '\' (backslash) is used for escaping special characters (for example spaces in file names). However I don't know why it's necessary to escape '/' in this case.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can i understand if a Java Virtual Machine is installed on Unix?? g_p UNIX for Dummies Questions & Answers 1 03-08-2011 08:12 AM
Understand a old unix shell script kam786sim Shell Programming and Scripting 2 02-10-2011 12:20 PM
trying to understand rationale of unix stream i/o concept kaychau UNIX for Dummies Questions & Answers 1 07-16-2009 11:23 AM
Line 2238 Unix V6 Comment: You are not expected to understand this. Neo What is on Your Mind? 0 04-29-2009 02:08 PM

All times are GMT -4. The time now is 06:54 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?