Search Results

Search: Posts Made By: rangarasan
1,747
Posted By bakunin
First off: no problem! There no dumb questions,...
First off: no problem! There no dumb questions, just dumb answers, so don't be shy.

The difference is that "\;" will call the command named in "-exec" each time a file is found. For instance, let...
5,009
Posted By RudiC
Try a small adaption to balajesuri's proposal:...
Try a small adaption to balajesuri's proposal: awk '/^ Rejected/ {x=$0; getline; x=x"\n"$0; a[x]++}END{for (i in a){print i, a[i], "rows"}}' file
Rejected - Error on table TableA, column ColB....
Forum: What is on Your Mind? 12-31-2015
1,459
Posted By RavinderSingh13
Welcome 2016, Happy New Year to All
Hello All,

I wanted to wish Happy New Year 2016 to every one in this forum. May GOD gives us strength to do hard work, learn new things, enjoy each and every moment of our life, do new...
2,679
Posted By Scrutinizer
Another option: sed -n 's/key[12]: //p' file |...
Another option:
sed -n 's/key[12]: //p' file | paste -d" " - -


--
( or sed -n 's/key[12]: \(...\)/\1/p' file | paste -d" " - - if you will )


---

That will not work since even in GNU...
2,679
Posted By neutronscott
This at least works in GNU sed ...
This at least works in GNU sed


mute@tiny:~$ sed -n '/key1:/{s/key1: //;h};/^key2:/{H;x;s/\nkey2://p}' input
ABC DEF
GGG HHH


Place it in hold space. Append key2 to hold space, swap...
3,229
Posted By Don Cragun
Sorry... I should have been much more verbose...
Sorry... I should have been much more verbose about the environment needed to use a hard link as a backup method.

I once worked in a group where a logging daemon was started when the system...
Forum: Red Hat 08-25-2015
17,843
Posted By drl
Hi. At Clonezilla - About...
Hi.

At Clonezilla - About (http://clonezilla.org/) you can see if that cloning mechanism is right for you.

The only drawback I found was that it did not understand software RAID (mdadm) and...
10,314
Posted By fpmurphy
If you so not mind a Java solution, Jackcess...
If you so not mind a Java solution, Jackcess will read .accdb files.
Forum: What is on Your Mind? 10-18-2012
1,516
Posted By Neo
Hi amora, Thank you for those kinds words. ...
Hi amora,

Thank you for those kinds words. You make me and all the other team members feel good about the work we all put into these forums.

I know it sounds a bit overstated; but often when I...
3,430
Posted By neutronscott
with bash, you can enable extglob. ksh probably...
with bash, you can enable extglob. ksh probably has similar, but i don't know the option.


$ shopt -s extglob
$ ls !(x.*.txt.H*.txt)
adfd.bagddf
$ ls *
adfd.bagddf x.asegfd.txt.H2012.txt ...
1,073
Posted By Scrutinizer
Shortened it a bit: awk...
Shortened it a bit:
awk '/^[0-9]/{p=0}p;/^48/{p=1}' file
4,243
Posted By Scrutinizer
sed 's/[^,]*/TEST/64' file
sed 's/[^,]*/TEST/64' file
4,726
Posted By itkamaraj
$ nawk -v p=$(cat Par.txt) '$0~p' Input.txt A,1...
$ nawk -v p=$(cat Par.txt) '$0~p' Input.txt
A,1
B,3


if you want to compare in first column then use $1~p
38,932
Posted By alister
When find parses it arguments, everthing that...
When find parses it arguments, everthing that follows the last pathname argument (/usr/bin/sou/) is a primary argument (-name, -type, -exec, and so on). Each primary argument is a term in a boolean...
36,233
Posted By balajesuri
@rangarasan: umask doesn't work that way. It...
@rangarasan: umask doesn't work that way. It masks permissions defined in its parameter and not provides permissions.

So, when you say umask 022, you're masking write permission for group and...
Showing results 1 to 15 of 15

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