Guest_imported
New member
- Jan 1, 1970
- 0
i am trying to print the values of variables given by user input to a file in the following format:
var1:var2:var3:::
with ":" as separators
my code is
echo -n "First Name: "
set name = $<
echo -n "Last Name: "
set last = $<
printf "$name:$last::::" >> .filename
///however the print the
var1:var2:var3::: will not print to the .filename in that format, it just prints the first word.
this code is trying to have a database of people
with that format...each new person with a new line
can anyone help??
var1:var2:var3:::
with ":" as separators
my code is
echo -n "First Name: "
set name = $<
echo -n "Last Name: "
set last = $<
printf "$name:$last::::" >> .filename
///however the print the
var1:var2:var3::: will not print to the .filename in that format, it just prints the first word.
this code is trying to have a database of people
with that format...each new person with a new line
can anyone help??