Tag: shell

Gettext translations

Gettext is a great way to localize and internationalize (simply put, to translate) your (web)applications. It’s especially useful when you’re building a multi-language application because you can separate the code from the translation process effectively. all strings that need to

Tagged with: , ,

AWK – print no newline

Using awk to display information, the print function, by default, adds newline after each iteration. I wanted to copy the results and use them as an actual array in a program and preferred to have them all on one line,

Tagged with: , ,

Grep result to a shell variable – no line breaks

There was this website containing regularly updated content I wanted to follow. Unfortunately, they had no RSS feed available and I didn’t feel like checking on the website every now and then. Also, what I needed was just the posts

Tagged with: , ,
Top