211 reputation
113
bio website antoine.delvaux.net
location Dakar, Senegal
age 40
visits member for 1 year, 8 months
seen yesterday

Sysadmin and developer, fluent in french and english.


Dec
21
comment Setting the TOPCOLORS environment variable
To be complete, I have added a TOPCOLORS working example.
Dec
21
revised Setting the TOPCOLORS environment variable
Adding example usage ot TOPCOLORS
Dec
19
answered How to include commands in Bash's PS1 without breaking line length calculation?
Dec
19
comment How to include commands in Bash's PS1 without breaking line length calculation?
To second @l0b0 question, I'll add that using PS1 and \[...\] works fine as long as you can put all the code you want to generate your prompt in a single string. However, if you want to split your code into small functions, you come to a point where you cannot put the starting and ending brackets in the same string/function. And that breaks line wrap. Unless you resort to using PROMPT_COMMAND to recompute your PS1 at each prompt.
Dec
9
awarded  Yearling
Dec
9
revised Setting the TOPCOLORS environment variable
Adding tags and color codes
Dec
9
answered Setting the TOPCOLORS environment variable
Sep
18
awarded  Popular Question
Apr
4
reviewed Reviewed Convert a .xlsx (MS Excel) file to .csv on command line with semicolon separated fields
Apr
4
reviewed No Action Needed Creating a terminal application from a shell script
Apr
2
awarded  Autobiographer
Mar
26
reviewed No Action Needed Despite all attempts fan is still running very loudly and fast
Mar
15
reviewed No Action Needed Kernel compilation of version 2.4 on a system running 3.2.0
Mar
15
awarded  Informed
Mar
14
reviewed Reviewed Attaching USB-Serial device with custom PID to ttyUSB0 on embedded
Mar
14
reviewed No Action Needed Script to send mail if there has been no entry in a log file for a certain amount of time
Mar
14
reviewed Reviewed Using the not equal operator for string comparison
Mar
13
awarded  Editor
Mar
12
answered Linux : See CPU usage by a process for the last second
Mar
12
reviewed Reviewed Linux : See CPU usage by a process for the last second