Skip to content
Mehdi Kababfrontend / author
⁠All posts

#shell

Shell commands and scripts on Linux and Mac OS X (3 posts).

2010

1 post

  1. Bash: convert a string to an integer

    Bash can’t convert a float to an integer, but printf handles it just fine: here is a small shell function that does the job.

2009

2 posts

  1. Convertir une icône ICNS en une image PNG

    Pas besoin d’appli graphique : la commande sips de Mac OS X convertit une icône .icns en PNG aux dimensions voulues, en une seule ligne.