Login  Register

strip spaces from command line input

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

strip spaces from command line input

ravas
870 posts
I keep pressing space after I input a command (Autocad habbit),
which results in 'Unknown command' after I press Enter.
Stripping any spaces from the beginning and end would
prevent this and help the transition for people like me. ;D
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: strip spaces from command line input

dxli
2025 posts
I remember it was stripping away tailing space.

I will have a look.

ravas wrote
I keep pressing space after I input a command (Autocad habbit),
which results in 'Unknown command' after I press Enter.
Stripping any spaces from the beginning and end would
prevent this and help the transition for people like me. ;D
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: strip spaces from command line input

ravas
870 posts
commit 52802e2