Search Results

Search: Posts Made By: janardhanamk
1,415
Posted By anurag.singh
#!/bin/ksh echo $1 > fullpath path1=`awk -F/...
#!/bin/ksh
echo $1 > fullpath
path1=`awk -F/ '{print $1}' fullpath`
path2=`awk -F/ '{print $2}' fullpath`
if [ "$path1" = "IDS" ]
then
if [ -d IDS ]
then
if [ -d "$path2" ]
...
2,323
Posted By Scott
Hi. Does it only "hang" when you pass no...
Hi.

Does it only "hang" when you pass no parameters to the script (that's what I would expect)?

In any case, cat is not necessary:


sed 's/ //g' "$fname" > fname1
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy