Home Man
Today's Posts

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

advanced, script, unix

Login to Reply

Thread Tools Search this Thread
# 1  
Old 11-17-2008
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.
# 2  
Old 11-17-2008
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.
Login to Reply

« Previous Thread | Next Thread »
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
Is it possible to understand the subjects of 2nd volume of UNIX Network Programming with APUE vectrum UNIX for Advanced & Expert Users 0 08-17-2016 12:25 AM
How to Understand file writing in Progress in UNIX? mayank2211 UNIX for Dummies Questions & Answers 3 06-08-2015 09:40 AM
Help to understand a script jose2802 Shell Programming and Scripting 1 11-03-2014 01:07 PM
How to Understand the UNIX Time Format? babinlonston Red Hat 4 06-12-2014 06:31 AM
Need to understand the script pls help raopatwari Shell Programming and Scripting 2 03-18-2011 08:16 AM
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
Can't understand the script shahdharmit Shell Programming and Scripting 3 12-15-2009 11:32 AM
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 01:38 AM.

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