[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:general_admin:cli_constructs_and_useful_info [2012/10/21 10:50 (UTC)] – [Sources] htexmexhhowtos:general_admin:cli_constructs_and_useful_info [2012/12/24 12:08 (UTC)] – [Regex] hazel
Line 97: Line 97:
 bash-4.2$  bash-4.2$ 
 </code> </code>
-Clearly you need to quote a file with spaces. You could use single quotes here, because no variable were inside the quotes. You should not quote in this case:+Clearly you need to quote a file with spaces. You could use single quotes here, because no variables were inside the quotes. You should not quote in this case:
 <code bash> <code bash>
 bash-4.2$ for i in $(seq 1 10); do printf "$i "; done; echo;   bash-4.2$ for i in $(seq 1 10); do printf "$i "; done; echo;  
Line 148: Line 148:
 === External Links === === External Links ===
   * http://www.grymoire.com/Unix/Quote.html   * http://www.grymoire.com/Unix/Quote.html
-==== Regex ====+==== Regular expressions ====
 === Basic === === Basic ===
   * ''.'' matches any single character.   * ''.'' matches any single character.
 howtos:general_admin:cli_constructs_and_useful_info ()