Posts by pattybel • 53 points
3 posts
-
2
votes1
answer187
viewsQ: How to print vector formatted in Shell?
I’m trying to get a string and change only one of its values, and that’s easy using vectors. However, when printing the string, the vector leaves without formatting, I have tried to print it with…
-
1
votes1
answer372
viewsQ: How to assign a variable the sed command with formatting? Shellscript
I’m having a problem making a program to exchange the first number for X, because even if it works, the variable does not receive the value permanently: VAR="oi 200 20 10" VAR= echo "$VAR" | sed -r…
-
0
votes1
answer61
viewsQ: Use C in Shellscript
In Shell we can use within the script other languages like awk and sed, I wonder if it would be possible to use the C language, and if yes, as.