Search Results

Search: Posts Made By: Validatorian
3,528
Posted By ahamed101
Escape the . (dots)... Try this......
Escape the . (dots)... Try this... /standard\.css\.file/

--ahamed
3,528
Posted By ahamed101
Edit the jsdir variable, remove the slash at the...
Edit the jsdir variable, remove the slash at the end...

jsdir="./js"
--ahamed
3,528
Posted By ahamed101
Try this... #!/bin/bash jsdir="./js" ...
Try this...

#!/bin/bash

jsdir="./js"

file_list=$(awk -F"[=\"]" '
/standard.js.file/,/<\/concat>/{
if(/filelist/){dir=$3;l=split($6,arr,", ")
...
3,528
Posted By ahamed101
Try this... jsdir="./js/" for file in...
Try this...

jsdir="./js/"

for file in $( awk -F"[=\"]" '/filelist/{gsub(/\./,"",$3); print $3}' infile )
do
if [ -f "$file" ]
then
cat $file >> newfile.js
...
Showing results 1 to 4 of 4

 

Featured Tech Videos

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