Search Results

Search: Posts Made By: birei
1,293
Posted By bakunin
That is true, birei, but only for the GNU date....
That is true, birei, but only for the GNU date. The POSIX specification of the date command doesn't include this option.

It is possible to use the UNIX time, which is the number of seconds since...
3,857
Posted By Scrutinizer
@birei, if you change file{1,2}.txt to...
@birei, if you change file{1,2}.txt to file[12].txt it will work in any shell instead of just bash/ksh93..
8,994
Posted By vgersh99
a slight mod: awk -F\| 'NR == FNR {i[$1, $2]...
a slight mod:

awk -F\| 'NR == FNR {i[$1, $2] = $3; next} i[$1, $2] && i[$1, $2] < $5 { print $1, $2, $4 }' OFS='|' file2 file1
1,460
Posted By jayan_jay
it will print the lines which starts with a...
it will print the lines which starts with a number ...
one more in awk ..

$ awk '/^[0-9]/ {print $0}' infile
3,263
Posted By alister
In case you are interested in writing the most...
In case you are interested in writing the most portable sed possible, using a semicolon after a branch command is not portable. With that syntax, the script may not work with most implementations. ...
Forum: Programming 03-23-2011
4,983
Posted By Corona688
It doesn't know where the source code is so most...
It doesn't know where the source code is so most of the debugging information's missing. Try gdb -d /path/to/source

Also make sure your makefile didn't strip the debugging information out of it...
1,929
Posted By ctsgnb
You can gather it in one substitution command : ...
You can gather it in one substitution command :
sed 's/[ ]*|[ ]*/|/g' infile
4,619
Posted By alister
They both give the same result because they both...
They both give the same result because they both perform the same command substitution and the substituted text does not contain any sh metacharacters.. The only difference is which sh instance...
Showing results 1 to 8 of 8

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