Search Results

Search: Posts Made By: czk
4,046
Posted By czk
try something like this (assuming here that you...
try something like this (assuming here that you are replacing the literal string "$nfotext")


#!/bin/bash

TAGS="nfo1 nfo2 nfo3 nfo4"

nfo1var="text for nfo1"
nfo2var="text for nfo2"...
3,588
Posted By czk
the problem is that awk knows nothing about your...
the problem is that awk knows nothing about your shell variables, you need to set them explicitly

try putting this right after the closing '

HNS=$HNS DOMAINS=$DOMAINS

here's a reference -->...
8,487
Posted By czk
lots of ways to do that but you need to use the...
lots of ways to do that but you need to use the hold space. The catch is that sed stores the hold space as a single line with embedded \n's to represent the "real" newlines. so if we were to read the...
8,487
Posted By czk
this should do it, # invoke sed with the...
this should do it,

# invoke sed with the -n option to suppress it's normal output
# ie. sed -n -f add_comments input_file > output_file


/^if(top.location != location){$/{
...
Showing results 1 to 4 of 4

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