Search Results

Search: Posts Made By: andaluzia
2,591
Posted By andaluzia
Thanks. Wonderful solution!
Thanks.

Wonderful solution!
2,591
Posted By andaluzia
hi Thanks for your help. I've made the...
hi
Thanks for your help. I've made the modifications but still does not work:

code:
[#!/bin/sh
set -x

for shell_args in "$@"
do
stype=` awk '{print substr ("'"$shell_args"'", 0, 3)}' `...
2,591
Posted By andaluzia
awk output in a variable
Not sure why it is not working the following :

set -- $@
stype ="a"
for shell_args in "$@"
do
$stype=` awk '{print substr ("'"$shell_args"'", 0, 3)}' `
echo $stype
done

Thank you
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy