The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
double quotes pavan_test Shell Programming and Scripting 4 08-25-2008 11:08 PM
Double quotes or single quotes when using ssh? password636 Shell Programming and Scripting 3 05-29-2008 09:52 PM
awk to print ' (single quotes) orahi001 UNIX for Dummies Questions & Answers 2 03-11-2008 04:30 PM
put double quotes for a column sumeet Shell Programming and Scripting 3 05-09-2007 08:20 PM
Double Quotes within a variable burton_1080 Shell Programming and Scripting 4 12-01-2005 01:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-17-2008
gazalinawaz gazalinawaz is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 2
Smile Dont want to print double-quotes

Hi,

I have a perl script which generates an LDAP report in CSV Format.

Issue: Some of attribute values has double-quotes as fed by users. I dont want to print those double-quotes while printing the attribute values.

Please let us know how I can overcome this issue.

Thank You.

Regards,
Nawaz
  #2 (permalink)  
Old 11-17-2008
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Not sure if you meant this?

$var =~ s/"//g; # Remove all double quotes
  #3 (permalink)  
Old 11-18-2008
gazalinawaz gazalinawaz is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 2
I thought of this initially..but this doesnt work. I am just wondering if double quotes can be removed while printing the value.

Please let me know any other way to this.

Regards,
Nawaz
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0