We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Linux Shell
- Text Processing
- Cut #4
- Discussions
Cut #4
Cut #4
Sort by
recency
|
50 Discussions
|
Please Login in order to post a comment
line="ä½ å¥½ä¸–ç•Œ" # Chinese characters echo "${line:0:4}" Output: �
this is where cut will work
I'm not sure why this isn't working. Test case 2 is failing for no apparent reason. This is the most elegant solution, thank you very much Zorse Unlimited
cut -b 1-4
Simple Code
why the fk does this not work? Test case 2 fails, for no reason. This IS the most elegant solution thank you very much.