On 8/24/18 6:25 AM, weidong wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > if I cd into a deep Chinese Character path(which longer than the terminal > width) > two problems: > 1) the last document name is not right > 2) some word (which is part of the document name) display behind the "$" > > Repeat-By: > clear steps to reproduce (step by step); > > 1) build deep document use Chinese character (alphabet character do not > have this bug) > 2) cd into the deepest document (the path longer than the terminal width) > expected result: > the document name before '$' is right, and no extral character show > behind '$' > actual result.: > the document name before '$' is not right and some extral character > show behind '$'
A couple of things would be helpful: 1. What is the value of PS1? 2. Can you provide a filename or pathname containing Chinese characters I can use to try and reproduce the issue? Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/