Search Results

Search: Posts Made By: jecaestevez
2,981
Posted By jecaestevez
Problem resolved
First create a new fich without the head

$ cut -d"|" -f2-25 asdf>fichNew

Sencond create a fich with the firt part what it will the last
$ cut -d"|" -f1 asdf>head

And paste the first part...
3,070
Posted By jecaestevez
sintasix
try this
awk -F'| ' '{int($1)==$1 && int($3) ==$3}' int_check.txt

other example is :
awk -F":" '{ print $1 $3 }' /etc/passwd

and other


{
if ( $5 ~ /root/ ) {
print $3
...
Showing results 1 to 2 of 2

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