Hi

Quick question for the list


I am trying to do something like this



#!/bin/bash

SOMEVARIABLE


VAR2="$( awk -F, "/$SOMEVARIABLE/ /some/pathtoafile/")"


Now I have problems with my " I can't use ' because I want SOMEVARIABLE
to be subsituted  I have tried 

VAR2="$( awk -F, \"/$SOMEVARIABLE/ /some/pathtoafile/\")"


but it starts going haywire!


Alex

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to