I use tcsh from beginning of 90s, I love it and since uses far less resources and has two times the speed of bash, I love it more now.
But any time I have to update my huge tcshrc I am getting in troubles.
Fresh real example:
write this in multiple lines so you can read and edit normally in editor.
Note: a third quote would be very useful or alias with here-doc input or functions.
alias dff "printf \"\033[47;30m\033[K %-32s%6s%6s%6s PRC MOUNTPOINT\033[0m\n\" DEVICE TOTAL USED FREE ; df -Ph | awk '/^\/dev\// {print} /^.*:\// {print}' | sed 's/\/dev\///g' | awk -F ' ' '{printf(\" \033[97m%-32s\033[97m%6s\033[93m%6s\033[92m%6s\033[0m%5s \033[97m%s\033[0m\n\",\$1,\$2,\$3,\$4,\$5,\$6);}'"
Thank you 🥇
I use tcsh from beginning of 90s, I love it and since uses far less resources and has two times the speed of bash, I love it more now.
But any time I have to update my huge tcshrc I am getting in troubles.
Fresh real example:
write this in multiple lines so you can read and edit normally in editor.
Note: a third quote would be very useful or alias with here-doc input or functions.
Thank you 🥇