Mailing List Archive


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

Re: [tlug] Representing a Space in a Path



Hi,

> How do you represent a space in a pathname?

The shell parser splits the command line at blank characters and interprets
  /path/to/foo bar/baz
as two strings. You can merge them as a a single string either with quotes
  "/path/to/foo bar/baz"
or a backslash escape
  /path/to/foo\ bar/baz
to ensure you shell sees only one string here.

-- 
Nicolas LIMARE

Attachment: signature.asc
Description: Digital signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links