Search Results

Search: Posts Made By: Validatorian
4,033
Posted By Validatorian
Back again :-/ The build script was changed...
Back again :-/

The build script was changed so that each file is on its own line, like so:


<concat destfile="${standard.js.file}" append="true">
<filelist dir="${js.dir}"
...
4,033
Posted By Validatorian
Already tried that -- same result. ...
Already tried that -- same result.

---------- Post updated at 01:33 AM ---------- Previous update was at 01:04 AM ----------

Figured it out -- the values for standard.css.file and...
4,033
Posted By Validatorian
gah, sorry about that. Thanks so much, ahamed! ...
gah, sorry about that. Thanks so much, ahamed!

---------- Post updated at 12:51 AM ---------- Previous update was at 12:18 AM ----------

I'm trying to modify the script for another section...
4,033
Posted By Validatorian
Super close -- only problem is it's ouputting two...
Super close -- only problem is it's ouputting two forward slashes before the filename:

./path/to/scripts//foo.js
4,033
Posted By Validatorian
For testing, I've replaced the check to see if...
For testing, I've replaced the check to see if it's a file, and echo'd the file instead, so:

for file in $( awk -F"[=\"]" '/filelist/{gsub(/\./,"",$3); print $3}' infile )
do
echo "$file"...
4,033
Posted By Validatorian
I want the content of the files merged into one,...
I want the content of the files merged into one, so if the contents of ${js.dir}/foo/foo.js is 'foo' and ${js.dir}/foo/foo2.js contains 'bar', the first part of 'newfoo.js' would be:
foo
bar
and...
4,033
Posted By Validatorian
Merge multiple files found in config file
I have a config file with a bunch of these type of blocks:

<concat destfile="${standard.js.file}" append="true">
<filelist dir="${js.dir}/foo" files="foo.js, foo2.js"/>
...
3,344
Posted By Validatorian
That is wonderful! Exactly what I needed. Thank...
That is wonderful! Exactly what I needed. Thank you!
3,344
Posted By Validatorian
Write string variables to file
I have the following:

#! /bin/bash
foo="bar"
this="that"

vars="foovar=$foo\n\
thisvar=$this\n"

I want to write the following to a file:

foovar="bar"
thisvar="that"

Then in another...
2,553
Posted By Validatorian
opening new instance of cygwin from withing cygwin
I'm using cygwin on win7, What I would like to do is something like this:


cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e[1;31;43m$&\e[0m/g'


I know I can start a new instance...
4,275
Posted By Validatorian
Ah, so that's all I was missing... the whole...
Ah, so that's all I was missing... the whole thing.

Thanks so much, xor
4,275
Posted By Validatorian
Empty out multiple files with a single command?
I have a log directory:
/logs/foo.log
/logs/bar.log
/logs/err.out

I'm trying to find a way to

> /logs/*.log
> /logs/*.out

to blank them out, but of course, that doesn't work.

Any...
Showing results 1 to 12 of 12

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