Search Results

Search: Posts Made By: scor6800
13,968
Posted By scor6800
Thank you all of you, guys. You helped me a lot.
Thank you all of you, guys.
You helped me a lot.
13,968
Posted By scor6800
Assign the result of a multiline command to a variable
Hi,
I have the following command that lists all the .o files from all the directories except of vwin (which I don't want it)
for i in `ls -d */*.o|awk '$0 !~ "vwin"'`; do echo $i; done
The result...
2,064
Posted By scor6800
Hi, this one is tested and works cat...
Hi,
this one is tested and works
cat filename|awk -F\| '
{for (i=1; i<16; i++)
{printf "%s|",$i}
if ($i!="354") {printf "%s|",$16}
for (i=17; i<NF; i++)
{printf "%s|",$i}
...
Showing results 1 to 3 of 3

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