[GRASS5] importing .e00 files

Hamish hamish_nospam at yahoo.com
Sun Nov 6 20:49:36 EST 2005


> >> Importing areas...
> >> + v.in.ogr -c -o dsn=glo10k layer=LAB,ARC type=centroid,boundary
> >> output=glo10k
> >> ERROR: Cannot open data source: glo10k
> >> + '[' 1 -eq 1 ']'
> >> + echo 'An error occurred. Stop.'
> >> An error occurred. Stop.
> >> + rm -rf 13707.e00 glo10k info
> >
> > what if you comment out the "rm" line? (244) (add a # at the start  
> > of it)

> Are you referring to the line:
> 
> ## area
> 
>          rm -rf $E00TMP.e00 $E00SHORTNAME info 2>&1 > /dev/null
> 
> or one of these:
> 
> #### clean up the mess
> rm -f "$TMPDIR"/$E00NAME.e* "$TMPDIR"/$E00NAME.E*
> rm -rf $E00TMP.e00 $E00SHORTNAME info $E00NAME.cat.$E00TMP.e00 2>&1  
>  > /dev/null

Comment them all out. The last one is mostly redundant by the way.
Try be hand with the files that are left behind.

Maybe better to add an 'echo' to the start of each line instead of a '#'
so you get to see what the file names are. "Quote" the text so the
redirection to /dev/null doesn't happen.


Hamish




More information about the grass-dev mailing list