LoginSignup
18
14

More than 5 years have passed since last update.

macのエスケープ文字

Last updated at Posted at 2013-03-16

macはエスケープ文字として、"¥"円マークと"\"バックスラッシュを区別するんですね。
windowsのノリで入力して、eclipseでコンパイルエラーが取れなくて困った。

バックスラッシュは option + ¥ で入力。

2015/10/6追記
指摘があったので修正しました。
alt + ¥と書いてましたが、macだと正しくはoptionですね…
恐らく当時、macのoptionキーにaltって印字しているために、完全にalt扱いしていたものと思われます…

18
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18
14