42shpimanmls / 42sh

Shell project at 42
3 stars 0 forks source link

Add script to add 42 headers on top of files #164

Closed M5oul closed 7 years ago

M5oul commented 7 years ago
lsimonne commented 7 years ago

sh add_42_headers.sh ? ça fait un truc chelou

M5oul commented 7 years ago

C’est zsh dans le header donc, avec zsh installé, soit :

lsimonne commented 7 years ago

ah oui pardon ça marche pour le Makefile mais le reste non, il aime pas l'option de find

M5oul commented 7 years ago

Tu veux dire -name ?

lsimonne commented 7 years ago

oep, en fait ça marche en faisant "find -name ".c" sinon il considère que -name est une option, alors que c'est un primary ça doit marcher avec "find -- -name "*.c"" aussi j'pense

M5oul commented 7 years ago

Ok, ça devrait être bon maintenant.

lsimonne commented 7 years ago

oep, mais du coup ça met "file.c" à tous les fichiers?

M5oul commented 7 years ago

Oui, c’est génant ? Ça passe à la norme en tout cas.

lsimonne commented 7 years ago

boarf perso ça me dérange pas