Hello,
I have a (basic I guess) problem with bash scripting.
In the command line, this piece of code returns nothing (a blank line), and if I'm not worng it should return 3.
set VAR = "3"
echo $VAR
if I do this (also in command line), a zero is returned:
set VAR = 3
printf "%d" "$VAR"
I also tried this code, with the same result, nothing is shown
#!/bin/bash
clear
set PID = 3;
echo $PID;
I hope someone can help me, this is cracking my nut.
Thankx in advanced.