Search Results

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

--ahamed
4,029
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
4,029
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,", ")
...
4,029
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

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