Skip to content

Instantly share code, notes, and snippets.

@hkoba
Created December 2, 2015 06:46
Show Gist options
  • Save hkoba/6720666d1e6752b9c0e9 to your computer and use it in GitHub Desktop.
Save hkoba/6720666d1e6752b9c0e9 to your computer and use it in GitHub Desktop.
mobaxterm -> local terminal -> rxvt session log
[burib_000.kvm-win8] > foo="<$(ls)>"
[2015-12-02 15:43.57] ~
[burib_000.kvm-win8] > echo -n "[$foo]"|od -c
0000000 [ < D e s k t o p \n L a u n c h
0000020 e r F o l d e r \n M y D o c u m
0000040 e n t s > ]
0000046
[2015-12-02 15:44.20] ~
[burib_000.kvm-win8] >
@hkoba
Copy link
Author

hkoba commented Dec 2, 2015

[burib_000.kvm-win8] > bash -x Desktop/test.sh
+ set igncr $'\r'
+ DIR=$'/bin\r'
+ $'/bin\r/ls\r'
: No such file or directoryin

[2015-12-02 15:59.33]  ~
[burib_000.kvm-win8] > 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment