You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lang-guide/chapters/strings_and_text.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,8 +118,8 @@ Sometimes you need to nest quotes. I think this could use some work because some
118
118
The key to always remember is that double quotes recognize and interpret escapes so if you have any `\` characters in your string, they will be interpreted as escapes. The following is an example of a question we get frequently on Discord.
119
119
120
120
```nu
121
-
Why doesn't this work?
122
-
> cd "C:\Program Files\somedir"
121
+
# Why doesn't this work?
122
+
cd "C:\Program Files\somedir"
123
123
```
124
124
125
125
It doesn't work because it sees `\P` and `\s` as escapes that are not recognized.
Copy file name to clipboardExpand all lines: lang-guide/chapters/types/basic_types/table.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@
17
17
Table literals can be created using a syntax similar to that of a list literal. Because tables also contain columns and not just values, we also specify the column names:
In this syntax, the headers are separated from the data cells using a semicolon(`;`). The semicolon separator is mandatory in a table-literal. It must follow the headers.
@@ -33,13 +33,13 @@ In this syntax, the headers are separated from the data cells using a semicolon(
33
33
You can also create a table as a list of records, JSON-style:
This list-of-records pattern plays on the Nushell data model, which sees a list of records as equivalent to a table. This is useful in cases where the length of a table may not be known ahead of time. In such a case, a stream of records likewise represents a table.
0 commit comments