The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
Cannot Stat Error Homer Allman UNIX for Advanced & Expert Users 1 05-22-2006 11:07 AM
sort unexpected error? radhika Shell Programming and Scripting 2 07-25-2005 01:12 PM
Cannot stat? lgardner UNIX for Dummies Questions & Answers 1 05-27-2005 05:05 PM
Need help with scandir / stat Bertsura High Level Programming 2 02-07-2005 11:58 AM
stat() fails!!! what can i do? solvman High Level Programming 3 02-06-2002 05:17 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 06-02-2005
radhika radhika is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 51
sort can't stat error.

I am using the command below to sort unique a file and I keep getting this error that sort can't stat.
Error:
sort: can't stat /xxxx/xxxxx/2005/xxxxxx/out_20050602155231/test.txt: No such file or directory

Does anybody have an idea when this error could occur.

Thanks,
Radhika.

if [ ${outfile} = "test.txt" ]
then

#The following command creates the outfile in the outputdirectory.
{SCRIPTSD}/perf_mast.sh ${INPUTD} ${OUTPUTD} ${SCRIPTS} ${filename} ${dm} ${dte}
wait

Command:
#Remove duplicates in the output file and the sorted file name is sort_outfilename
sort -u ${OUTPUTD}/${outfile} > ${OUTPUTD}/sort_${outfile}
wait
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0