Strategies for the synthesis of 2-substituted indoles and indolines starting from acyclic alpha-phosphoryloxy enecarbamates.