![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help me decipher how much memory on my box | JamesByars | HP-UX | 3 | 10-17-2008 09:18 PM |
| create a shell script that calls another script and and an awk script | magikminox | Shell Programming and Scripting | 0 | 06-26-2008 03:50 AM |
| How to decipher tcpdump file | diganta | Security | 3 | 02-24-2005 11:55 PM |
| Please help me decipher this header - I'm desperate! | christinef | UNIX for Dummies Questions & Answers | 0 | 02-07-2005 04:33 AM |
| decipher pstack with problem lwp | hosierdm | SUN Solaris | 5 | 03-10-2004 10:29 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Decipher Script
Hi Guys, I am running solaris and I need help in deciphering the following commands: Code:
dir_t1=`echo $0|nawk -F'/' '{print NF}'`
dir_t2=`expr $dir_t1- 1`
dir_t3=`echo $0|cut -d'/' -f1-$dir_t2`
export dir_t2
What will be the value for dir_t3? Please help !!!!!!!!!!!!!!! Last edited by vgersh99; 08-21-2009 at 09:18 AM.. Reason: code tags, PLEASE! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|