Search Results

Search: Posts Made By: zenkisoft
3,689
Posted By zenkisoft
What you're doing is just testing if the file...
What you're doing is just testing if the file exists or not. What I want to test, is that the file exists and has file size larger than 0, which is done by using the switch -s in borne shell.

How...
3,689
Posted By zenkisoft
Just want to know a few conversion tricks. ...
Just want to know a few conversion tricks.

in Borne Shell, I have the line:

if test -s testmap
then
...
fi
## testmap is a filename and I wanna test whether it exists
## then do whatever...
Showing results 1 to 2 of 2

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