Search Results

Search: Posts Made By: hpodhrad
3,330
Posted By Corona688
$ hexdump -C EIR.TXT 00000000 0a 45 49 52 2e...
$ hexdump -C EIR.TXT
00000000 0a 45 49 52 2e 45 4e 54 52 59 fd 49 4e 44 2e 52 |.EIR.ENTRY.IND.R|
00000010 41 54 45 2e 43 41 4c 43 0a 46 49 2e 45 49 52 fd |ATE.CALC.FI.EIR.|
00000020 53 43...
24,495
Posted By Scrutinizer
No, actually you haven't. You put the entire...
No, actually you haven't. You put the entire command line in a string again. That will not work without eval
24,495
Posted By Corona688
In summary, this is bad: STRING="something...
In summary, this is bad:

STRING="something something \"stuff in quotes\" something else"

$STRING

I suggested this as a alternative:

STRING="stuff in quotes"

something something...
24,495
Posted By Scrutinizer
This may shed some light: $ STATEMENT="echo...
This may shed some light:

$ STATEMENT="echo \"hello there\""
+ STATEMENT='echo "hello there"'
$ $STATEMENT
+ echo '"hello' 'there"'
"hello there"
$ eval "$STATEMENT"
+ eval...
Showing results 1 to 4 of 4

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