Search Results

Search: Posts Made By: emare
6,505
Posted By Corona688
General Purpose XML Processing
I've been kicking this around for a while now, I might as well post it here.
[edit] v0.0.9, now properly supporting self-closing tags.
[edit] v0.0.8, an important quoting fix and a minor change...
1,611
Posted By Don Cragun
Given that (without options) ls produces output...
Given that (without options) ls produces output sorted by pathname, why use:
list2=`ls /spooldocs/sch/sch* |sort`
instead of:
list2=`ls /spooldocs/sch/sch*`
which produces the same output unless...
1,611
Posted By Corona688
Print "$list2" $printer2
Print "$list2" $printer2
4,430
Posted By Corona688
This seems to work: $ printf...
This seems to work:

$ printf "*p1088Y\x1b*c100g2P" | perl -p -e 's/ p1088Y\x1b c100g2P/*p4088Y\x1b*c200g2P/g;' | hexdump -C

00000000 2a 70 34 30 38 38 59 1b 2a 63 32 30 30 67 32 50 ...
160,048
Posted By complex.invoke
Tetris Game -- The Art Of Shell Programming
GitHub - deepgrace/tetris: Tetris implementation in all kinds of Programming Languages (https://github.com/deepgrace/tetris)

Usage: bash Tetris_Game [ <runlevel> [ <previewlevel> [ <speedlevel> [...
5,040
Posted By bakunin
I once wrote a ksh-to-HTML-script for...
I once wrote a ksh-to-HTML-script for documentation purposes. The main generation part was in awk and it might help you as a starting point for your own script. Mostly it translates special...
1,450
Posted By RudiC
Would this be close?awk 'NR==FNR {T[$1]=$5; next}...
Would this be close?awk 'NR==FNR {T[$1]=$5; next} {print $0 T[$1],""}' FS=";" OFS=";" file1 file2
RB-4.762/G10Q M1 04763-010M01R3-01 ; 940800; 0; 3460800; 2744000;...
Showing results 1 to 7 of 7

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