Search Results

Search: Posts Made By: blitzer
24,110
Posted By blitzer
echo '<?xml version="1.0" encoding="UTF-8"?>' >...
echo '<?xml version="1.0" encoding="UTF-8"?>' > outfile.txt && echo "<documentbody>$(cat infile.txt)</documentbody>" >> outfile.txt
24,110
Posted By blitzer
echo "<documentbody>$(cat...
echo "<documentbody>$(cat infile.txt)</documentbody>" > outfile.txt
4,442
Posted By blitzer
This would remove tags <ABC> and digits included ...
This would remove tags <ABC> and digits included

sed -e 's#<ABC>[0-9]\+</ABC>##g'
4,633
Posted By blitzer
new Widget...
new Widget (http://souptonuts.sourceforge.net/welcome.php)

See "Encrypt and Decrypt" section
11,818
Posted By blitzer
I would avoid at any price to call system from a...
I would avoid at any price to call system from a perl script.
Here's a quick try

perl -e 'opendir (DIR, $ARGV[0]) ; @count = readdir(DIR); $count = @count; print $count-2,"\n"'...
1,868
Posted By blitzer
Funny complication, but it somehow works ...
Funny complication, but it somehow works


for j in $(for i in *agl ; do echo $i | sed -e 's/\([a-z]\+\)\([0-9]\+\)/\2\1/g' ; done | sort | sed -e 's/\([0-9]\+\)\([a-z]\+\)/\2\1/g') ; do ls -l $j...
2,705
Posted By blitzer
How about generating a 3rd file called file3 that...
How about generating a 3rd file called file3 that contains the same lines and filled with "|" symbol

for i in $(seq 1 $(wc -l file2 | awk '{print $1}')); do echo "|" ; done > file3


Then...
Showing results 1 to 7 of 7

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