Skip to main content
edited body
Source Link
Scyld de Fraud
  • 2.7k
  • 18
  • 14

This is a job for a function not an alias. Example:

compile() { g++ $1.cpp -o $1 --std=c++11 chmod +x $1 ./$1 } 

VoileVoilà!

HTH, Cheers

This is a job for a function not an alias. Example:

compile() { g++ $1.cpp -o $1 --std=c++11 chmod +x $1 ./$1 } 

Voile!

HTH, Cheers

This is a job for a function not an alias. Example:

compile() { g++ $1.cpp -o $1 --std=c++11 chmod +x $1 ./$1 } 

Voilà!

HTH, Cheers

Source Link
Scyld de Fraud
  • 2.7k
  • 18
  • 14

This is a job for a function not an alias. Example:

compile() { g++ $1.cpp -o $1 --std=c++11 chmod +x $1 ./$1 } 

Voile!

HTH, Cheers