Search Results

Search: Posts Made By: chrispward
3,700
Posted By chrispward
I tried those different ideas. The one that works...
I tried those different ideas. The one that works the best for me is:

sh -c "rm -f `cat $PMSourceFileDir/dqa_file_list.lst`"

(FYI. The etl tool expands $PMSourceFileDir to the full path...
3,700
Posted By chrispward
Multi Line 'While Read' command issue when using sh -c
Hi,
I'm trying to run the following command using sh -c

ie
sh -c "while read EachLine
do
rm -f $EachLine ;
done < file_list.lst;"

It doesn't seem to do anything.

When I run this...
Showing results 1 to 2 of 2

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