![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to redirect value from sql select statment to unix variable | abdulhafeez | Shell Programming and Scripting | 17 | 10-22-2008 12:55 AM |
| if statment, based on retune value | toliver182 | Shell Programming and Scripting | 1 | 05-16-2008 08:51 AM |
| Imitating DOS functionality: The Call Statment | jadionne | UNIX for Dummies Questions & Answers | 21 | 12-25-2007 12:01 PM |
| what is wrong with my awk statment? | hankooknara | Shell Programming and Scripting | 1 | 06-18-2007 11:27 PM |
| problem w/ -z && -n switches in an if statment | Optimus_P | Shell Programming and Scripting | 1 | 07-31-2002 10:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hwo do I print ' in an awk statment?
hi 2 all,
I'm trying 2 print " ' " in an awk statement but the sign deosn't show. The only way I came with is 2 declare the ' as a variable and call that variable. I'm trying 2 do: awk '{printf("insert into ba_memo_01 values ('%s');",$1)}' and get the output: insert into ba_memo_01 values ('627562'); thanks |
|
||||
|
who do I print ' in an awk statement?
hi 2 all,
I'm trying 2 print " ' " in an awk statement but the sign deosn't show. The only way I came with is 2 declare the ' as a variable and call that variable. I'm trying 2 do: awk '{printf("insert into ba_memo_01 values ('%s');",$1)}' and get the output: insert into ba_memo_01 values ('627562'); thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|