The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to print a value in the variable using awk ?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
How to print a value in the variable using awk ?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-14-2008
Klashxx
HP-UX/Linux/Oracle
Join Date: Feb 2006
Location: Almerķa, Spain
Posts: 383
Same logic that the other example:
Code:
awk 'BEGIN {printf("%36s \n ","'"${var1}"'")}'
Klashxx
View Public Profile
Find all posts by Klashxx