Search Results

Search: Posts Made By: Vintage_hegoog
2,895
Posted By Vintage_hegoog
Problem writing file path to txt file
if test -z "$1"
then echo "you must give a filename or filepath"
else path=`dirname $1`
f_name =`basename $1`
if path="."
then path=`pwd`
fi
fi
cat $f_name $path >> index.txt

The only...
Showing results 1 to 1 of 1

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