Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash: Inhalt von $1 als neue Variable nutzen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Mon Feb 18, 2008 2:27 pm    Post subject: Reply with quote

mv wrote:
Code:
for i in *; mv -- $i $i.bak

Noch kürzer:
for i in *; mv -- $i{,.bak} :)
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Mon Feb 18, 2008 2:56 pm    Post subject: Reply with quote

Necoro wrote:
mv wrote:
Code:
for i in *; mv -- $i $i.bak

Noch kürzer:
for i in *; mv -- $i{,.bak} :)


gleich lang :p
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Mon Feb 18, 2008 3:00 pm    Post subject: Reply with quote

ROFL

genaugenommen müßte ich die letzten beiden Posts nach 'Ironie im Forum' abspalten :mrgreen:
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum