[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virtual package (x-)editor ?



* Tomas Pospisek 

| Yup. It's just that for me an editor doesn't have to be able to be
| programmable and to brew coffe. It just needs to open the roght file when
| I start it with "editor file" and allthough I haven't gone through the
| effort of testing all existing editors I have yet to see one that wouldn't
| accept a filename as a CL parameter.

Unless you know for sure that the filename doesn't contain switches,
you should call '$EDITOR -- $FILE', I'd say (or with the full path to
$FILE, in case the program doesn't understand -- for
end-of-switches-list).

-- 

Tollef Fog Heen
Axiom #1: You Can't Win



Reply to: